Changeset 257 for trunk/test
- Timestamp:
- Oct 31, 2009, 8:53:58 PM (15 years ago)
- Location:
- trunk/test
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testcompile.sh
r227 r257 179 179 echo getenv >> list_null_funcs_uniq; 180 180 cat $i | ./deference_check.pl |\ 181 egrep -v 'x_trustfile.c ... ... sl_trustfile'; 181 egrep -v 'x_trustfile.c ... ... sl_trustfile' | \ 182 egrep -v 'x_sh_mem.c '; 182 183 rm -f list_null_funcs_uniq; 183 184 # rm -f $i … … 262 263 numfail=0 263 264 265 266 C_LOGFILE="" 267 268 ls /lib/libpcre* >/dev/null 2>&1 269 if [ $? -eq 0 ]; then 270 C_LOGFILE=" --enable-logfile-monitor " 271 else 272 ls /usr/lib/libpcre* >/dev/null 2>&1 273 if [ $? -eq 0 ]; then 274 C_LOGFILE=" --enable-logfile-monitor " 275 else 276 ls /usr/local/lib/libpcre* >/dev/null 2>&1 277 if [ $? -eq 0 ]; then 278 C_LOGFILE=" --enable-logfile-monitor " 279 fi 280 fi 281 fi 282 if [ x"${C_LOGFILE}" = x ]; then 283 log_msg_ok "Not testing --enable-logfile-monitor"; 284 fi 285 264 286 # 265 287 # test dnmalloc … … 319 341 [ -z "${SMATCH}" ] || { CC="${SAVE_CC}"; export CC; SMATCH=""; export SMATCH; } 320 342 # 321 ${TOP_SRCDIR}/configure --quiet --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --enable-static --enable-suidcheck --enable-process-check --enable-logfile-monitor> /dev/null 2>> test_log343 ${TOP_SRCDIR}/configure --quiet --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --enable-static --enable-suidcheck --enable-process-check ${C_LOGFILE} > /dev/null 2>> test_log 322 344 # 323 345 let "num = num + 1" >/dev/null … … 429 451 fi 430 452 # 431 ${TOP_SRCDIR}/configure --quiet --prefix=$PW_DIR --enable-nocl="owl" --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --enable-logfile-monitor> /dev/null 2>> test_log453 ${TOP_SRCDIR}/configure --quiet --prefix=$PW_DIR --enable-nocl="owl" --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test ${C_LOGFILE} > /dev/null 2>> test_log 432 454 # 433 455 let "num = num + 1" >/dev/null … … 670 692 [ -z "${SMATCH}" ] || { CC="${SAVE_CC}"; export CC; SMATCH=""; export SMATCH; } 671 693 # 672 ${TOP_SRCDIR}/configure --quiet --enable-network=client --enable-static --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --with-timeserver=127.0.0.1 --enable-logfile-monitor> /dev/null 2>> test_log694 ${TOP_SRCDIR}/configure --quiet --enable-network=client --enable-static --enable-srp --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --with-timeserver=127.0.0.1 ${C_LOGFILE} > /dev/null 2>> test_log 673 695 # 674 696 let "num = num + 1" >/dev/null … … 726 748 fi 727 749 # 728 ${TOP_SRCDIR}/configure --quiet --enable-network=client --enable-srp --with-gpg=$GPG --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --enable-logfile-monitor> /dev/null 2>> test_log750 ${TOP_SRCDIR}/configure --quiet --enable-network=client --enable-srp --with-gpg=$GPG --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test ${C_LOGFILE} > /dev/null 2>> test_log 729 751 # 730 752 let "num = num + 1" >/dev/null … … 790 812 fi 791 813 # 792 ${TOP_SRCDIR}/configure --quiet --enable-network=client --enable-debug --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test --enable-logfile-monitor> /dev/null 2>> test_log814 ${TOP_SRCDIR}/configure --quiet --enable-network=client --enable-debug --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$PW_DIR/samhainrc.test ${C_LOGFILE} > /dev/null 2>> test_log 793 815 # 794 816 let "num = num + 1" >/dev/null -
trunk/test/testhash.sh
r235 r257 28 28 { 29 29 log_start "HASH FUNCTION" 30 31 C_LOGFILE="" 32 33 ls /lib/libpcre* >/dev/null 2>&1 34 if [ $? -eq 0 ]; then 35 C_LOGFILE=" --enable-logfile-monitor " 36 else 37 ls /usr/lib/libpcre* >/dev/null 2>&1 38 if [ $? -eq 0 ]; then 39 C_LOGFILE=" --enable-logfile-monitor " 40 else 41 ls /usr/local/lib/libpcre* >/dev/null 2>&1 42 if [ $? -eq 0 ]; then 43 C_LOGFILE=" --enable-logfile-monitor " 44 fi 45 fi 46 fi 47 if [ x"${C_LOGFILE}" = x ]; then 48 log_msg_ok "Not testing --enable-logfile-monitor"; 49 fi 50 30 51 # 31 52 # test standalone compilation … … 37 58 fi 38 59 # 39 ${TOP_SRCDIR}/configure --quiet $TRUST --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$RCFILE --with-log-file=$LOGFILE --with-pid-file=$PW_DIR/.samhain_lock --with-data-file=$PW_DIR/.samhain_file --enable-debug '--enable-login-watch' '--enable-mounts-check' '--enable-logfile-monitor''--enable-process-check' '--enable-port-check' '--enable-suidcheck' '--with-rnd=unix'60 ${TOP_SRCDIR}/configure --quiet $TRUST --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$RCFILE --with-log-file=$LOGFILE --with-pid-file=$PW_DIR/.samhain_lock --with-data-file=$PW_DIR/.samhain_file --enable-debug '--enable-login-watch' '--enable-mounts-check' ${C_LOGFILE} '--enable-process-check' '--enable-port-check' '--enable-suidcheck' '--with-rnd=unix' 40 61 # 41 62 fail=0 -
trunk/test/testrun_1.sh
r207 r257 892 892 return 1 893 893 fi 894 egrep "CRIT.*POLICY \[ReadOnly\] CL- --M--TS.*${BASE}/b/l_x" $LOGFILE >/dev/null 2>&1894 egrep "CRIT.*POLICY \[ReadOnly\] CL-.-M--TS.*${BASE}/b/l_x" $LOGFILE >/dev/null 2>&1 895 895 if [ $? -ne 0 ]; then 896 896 [ -z "$verbose" ] || log_msg_fail "${BASE}/b/l_x";
Note:
See TracChangeset
for help on using the changeset viewer.