Changeset 467
- Timestamp:
- Mar 25, 2015, 11:45:32 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_getopt.c
r422 r467 93 93 HAS_ARG_YES, 94 94 sh_forward_server_port }, 95 { N_("server-host"), 96 '-', 97 N_("Set the server host to connect to"), 98 HAS_ARG_YES, 99 sh_forward_setlogserver }, 95 100 #endif 96 101 #ifdef SH_WITH_SERVER -
trunk/test/testrun_2a.sh
r463 r467 25 25 SERVER_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 26 26 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_BUILDOPTS27 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-log-file=$LOGFILE --with-pid-file=$PW_DIR/.samhain_lock --enable-suidcheck"; export CLIENT_BUILDOPTS 28 28 29 29 do_test_1_a () { … … 42 42 [ -z "$verbose" ] || { 43 43 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"; 45 45 echo; 46 46 } 47 47 48 ${VALGRIND} ./samhain.new -t check -p none -l none -e info --bind-address=127.0.0.1 >/dev/null 2>>test_log_valgrind48 ${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 49 49 if test x$? = x0; then 50 50 [ -z "$verbose" ] || log_msg_ok "samhain.new -t check"; … … 312 312 log_end "RUN FULL CLIENT/SERVER" 313 313 } 314
Note:
See TracChangeset
for help on using the changeset viewer.