Changeset 20 for trunk/test


Ignore:
Timestamp:
Feb 13, 2006, 11:54:42 PM (19 years ago)
Author:
rainer
Message:

Enable command-line parsing for prelude, and make prelude regression test safer.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testrun_1b.sh

    r19 r20  
    102102    rm -f $PW_DIR/test_log_prelude
    103103
    104     ( "$PM" --textmod -l $PW_DIR/test_log_prelude >/dev/null 2>&1 )&
     104    "$PM" --textmod -l $PW_DIR/test_log_prelude --listen 127.0.0.1:5500 >/dev/null 2>&1 &
    105105    PID=$!
    106106
    107     ./samhain -t check -p none -l info --set-prelude-severity=info >/dev/null
     107    sleep 5
     108
     109    ./samhain -t check -p none -l info --set-prelude-severity=info --prelude --server-addr 127.0.0.1:5500 >/dev/null
    108110   
    109111    if test x$? = x0; then
     
    166168            else
    167169                BUILDOPTS="--quiet $TRUST --enable-debug --with-prelude --with-gpg=${GPG} --with-checksum=no --enable-micro-stealth=137 --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=$RCFILE  --with-log-file=$PW_DIR/.samhain_log --with-pid-file=$PW_DIR/.samhain_lock --with-data-file=$PW_DIR/.samhain_file"
    168                 testrun1b_internal "${BUILDOPTS}"
     170                testrun1b_internal "${BUILDOPTS} CFLAGS=-DSH_NOFAILOVER=1"
    169171                do_test_1b_2
    170172                if [ $? -eq 0 ]; then
Note: See TracChangeset for help on using the changeset viewer.