Changeset 44 for trunk/test/testrun_2a.sh
- Timestamp:
- Jun 5, 2006, 10:53:07 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testrun_2a.sh
r30 r44 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-debug --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 "; export CLIENT_BUILDOPTS27 CLIENT_BUILDOPTS="--quiet $TRUST --enable-debug --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 28 28 29 29 do_test_1_a () { … … 113 113 ${TOP_SRCDIR}/configure ${CLIENT_BUILDOPTS} 114 114 # 115 # Limit suid check 116 # 117 BASE="${PW_DIR}"; export BASE 118 # 119 if test x$? = x0; then 120 [ -z "$verbose" ] || log_msg_ok "configure..."; 121 $MAKE 'DBGDEF=-DSH_SUIDTESTDIR=\"${BASE}\"' > /dev/null 2>>test_log 122 if test x$? = x0; then 123 [ -z "$verbose" ] || log_msg_ok "make..."; 124 else 125 [ -z "$quiet" ] && log_msg_fail "make..."; 126 return 1 127 fi 128 129 else 130 [ -z "$quiet" ] && log_msg_fail "configure..."; 131 return 1 132 fi 133 134 # save binary and build server 135 # 136 cp samhain samhain.build || return 1 137 $MAKE clean >/dev/null || return 1 138 139 ${TOP_SRCDIR}/configure ${SERVER_BUILDOPTS} 140 # 115 141 if test x$? = x0; then 116 142 [ -z "$verbose" ] || log_msg_ok "configure..."; … … 128 154 fi 129 155 130 # save binary and build server131 #132 cp samhain samhain.build || return 1133 $MAKE clean >/dev/null || return 1134 135 ${TOP_SRCDIR}/configure ${SERVER_BUILDOPTS}136 #137 if test x$? = x0; then138 [ -z "$verbose" ] || log_msg_ok "configure...";139 $MAKE > /dev/null 2>>test_log140 if test x$? = x0; then141 [ -z "$verbose" ] || log_msg_ok "make...";142 else143 [ -z "$quiet" ] && log_msg_fail "make...";144 return 1145 fi146 147 else148 [ -z "$quiet" ] && log_msg_fail "configure...";149 return 1150 fi151 152 156 153 157 ##################################################################### … … 221 225 cp ./testrc_2 "./rc.${ALTHOST}" 222 226 cp ./file.${SH_LOCALHOST} "./file.${ALTHOST}" 2>/dev/null 223 224 227 } 225 228
Note:
See TracChangeset
for help on using the changeset viewer.