Changeset 286 for trunk/test
- Timestamp:
- Jun 6, 2010, 7:20:55 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testrun_2c.sh
r226 r286 267 267 cp ./yule ./yule.orig 268 268 269 ${TOP_SRCDIR}/configure --quiet $TRUST --enable-debug --enable-network=server --enable-xml-log --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=${RCFILE}2 --with-log-file=${LOGFILE}2 --with-pid-file=$PW_DIR/.samhain_lock2 --with-html-file=${HTML}2 --with-state-dir=$PW_DIR --with-port=49778 --with-database=mysql 270 # 269 ${TOP_SRCDIR}/configure --quiet $TRUST --enable-debug --enable-network=server --enable-xml-log --enable-login-watch --prefix=$PW_DIR --localstatedir=$PW_DIR --with-config-file=${RCFILE}2 --with-log-file=${LOGFILE}2 --with-pid-file=$PW_DIR/.samhain_lock2 --with-html-file=${HTML}2 --with-state-dir=$PW_DIR --with-port=49778 --with-database=mysql 270 # 271 if test x$? = x0; then 272 [ -z "$verbose" ] || log_msg_ok "configure..."; 273 $MAKE > /dev/null 2>>test_log 271 274 if test x$? = x0; then 272 [ -z "$verbose" ] || log_msg_ok "configure..."; 273 $MAKE > /dev/null 2>>test_log 274 if test x$? = x0; then 275 [ -z "$verbose" ] || log_msg_ok "make..."; 276 else 277 [ -z "$quiet" ] && log_msg_fail "make..."; 278 return 1 279 fi 280 275 [ -z "$verbose" ] || log_msg_ok "make..."; 281 276 else 282 [ -z "$quiet" ] && log_msg_fail "configure..."; 283 return 1 284 fi 285 286 cp yule yule.2 || return 1 287 # 277 [ -z "$quiet" ] && log_msg_fail "make..."; 278 return 1 279 fi 280 281 else 282 [ -z "$quiet" ] && log_msg_fail "configure..."; 283 return 1 284 fi 285 286 cp yule yule.2 || return 1 287 # 288 288 cp ./yule.orig ./yule 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 289 # 290 SHPW=`cat ./testpw` 291 292 if test x"$SHPW" = x; then 293 [ -z "$quiet" ] && log_msg_fail "password not generated -- aborting" 294 return 1 295 fi 296 297 rm -f ./testpw 298 299 ./samhain_setpwd yule new $SHPW >/dev/null 300 301 if test x$? = x0; then 302 [ -z "$verbose" ] || log_msg_ok "./samhain_setpwd yule new $SHPW"; 303 else 304 [ -z "$quiet" ] && log_msg_fail "./samhain_setpwd yule new $SHPW"; 305 return 1 306 fi 307 308 309 $MAKE clean >/dev/null || return 1 310 310 mv yule.new yule || return 1 311 311 #
Note:
See TracChangeset
for help on using the changeset viewer.