Changeset 467 for trunk/test


Ignore:
Timestamp:
Mar 25, 2015, 11:45:32 PM (10 years ago)
Author:
katerina
Message:

Fix for ticket #365 (cl option to choose log server).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/testrun_2a.sh

    r463 r467  
    2525SERVER_BUILDOPTS="--quiet  $TRUST --enable-network=server --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=REQ_FROM_SERVER$PW_DIR/testrc_2 --with-data-file=REQ_FROM_SERVER$PW_DIR/.samhain_file --with-logserver=${SH_LOCALHOST}  --with-log-file=$PW_DIR/.samhain_log --with-pid-file=$PW_DIR/.samhain_lock"; export SERVER_BUILDOPTS
    2626
    27 CLIENT_BUILDOPTS="--quiet  $TRUST --enable-network=client --enable-srp --prefix=$PW_DIR --with-tmp-dir=$PW_DIR --localstatedir=$PW_DIR --with-config-file=REQ_FROM_SERVER$RCFILE --with-data-file=REQ_FROM_SERVER$PW_DIR/.samhain_file --with-logserver=localhost --with-log-file=$LOGFILE --with-pid-file=$PW_DIR/.samhain_lock --enable-suidcheck"; export CLIENT_BUILDOPTS
     27CLIENT_BUILDOPTS="--quiet  $TRUST --enable-network=client --enable-srp --prefix=$PW_DIR --with-tmp-dir=$PW_DIR --localstatedir=$PW_DIR --with-config-file=REQ_FROM_SERVER$RCFILE --with-data-file=REQ_FROM_SERVER$PW_DIR/.samhain_file --with-log-file=$LOGFILE --with-pid-file=$PW_DIR/.samhain_lock --enable-suidcheck"; export CLIENT_BUILDOPTS
    2828
    2929do_test_1_a () {
     
    4242        [ -z "$verbose" ] || {
    4343            echo;
    44             echo "${S}Start Client${E}: ./samhain.new -l none -p none -e info -t check";
     44            echo "${S}Start Client${E}: ./samhain.new -l none -p none -e info -t check --bind-address=127.0.0.1 --server-host=localhost";
    4545            echo;
    4646        }
    4747
    48         ${VALGRIND} ./samhain.new -t check -p none -l none -e info --bind-address=127.0.0.1 >/dev/null 2>>test_log_valgrind
     48        ${VALGRIND} ./samhain.new -t check -p none -l none -e info --bind-address=127.0.0.1 --server-host=localhost >/dev/null 2>>test_log_valgrind
    4949        if test x$? = x0; then
    5050            [ -z "$verbose" ] || log_msg_ok    "samhain.new -t check";
     
    312312    log_end "RUN FULL CLIENT/SERVER"
    313313}
    314 
Note: See TracChangeset for help on using the changeset viewer.