Changeset 159 for trunk/test/testrun_1b.sh
- Timestamp:
- Jan 16, 2008, 11:12:13 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/testrun_1b.sh
r100 r159 36 36 fi 37 37 # 38 # 39 ${TOP_SRCDIR}/configure ${BUILDOPTS} >/dev/null 2>/dev/null 38 # Bootstrapping 39 # 40 ${TOP_SRCDIR}/configure >/dev/null 2>/dev/null 41 if test x$? = x0; then 42 [ -z "$verbose" ] || log_msg_ok "configure (bootstrap)..."; 43 $MAKE > /dev/null 2>&1 44 if test x$? = x0; then 45 [ -z "$verbose" ] || log_msg_ok "make (bootstrap)..."; 46 else 47 [ -z "$quiet" ] && log_msg_fail "make (bootstrap)..."; 48 return 1 49 fi 50 51 else 52 [ -z "$quiet" ] && log_msg_fail "configure (bootstrap)..."; 53 return 1 54 fi 55 # 56 # 57 ${TOP_SRCDIR}/configure ${BUILDOPTS} 2>/dev/null | \ 58 egrep 'use existing [./[:alnum:]]+ for gpg checksum' >/dev/null 40 59 # 41 60 # … … 59 78 tail -n "+$SKIP" ${SCRIPTDIR}/test.sh >/dev/null 2>&1 60 79 if [ $? -eq 0 ]; then 61 tail -n "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - | tar xf - && \80 tail -n "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - 2>/dev/null | tar xf - && \ 62 81 mv "./testrc.gpg.asc" "$RCFILE" 63 82 else 64 tail "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - | tar xf - && \83 tail "+$SKIP" ${SCRIPTDIR}/test.sh | gunzip -c - 2>/dev/null | tar xf - && \ 65 84 mv "./testrc.gpg.asc" "$RCFILE" 66 85 fi … … 214 233 # ------------- first test ------------- 215 234 # 216 BUILDOPTS="--quiet $TRUST --enable-debug --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"235 BUILDOPTS="--quiet $TRUST --enable-debug --with-gpg=${GPG} --with-checksum --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" 217 236 testrun1b_internal "${BUILDOPTS}" 218 237 do_test_1b … … 234 253 log_skip 2 $MAXTEST 'ImageMagick convert not found in $PATH' 235 254 else 236 BUILDOPTS="--quiet $TRUST --enable-debug --with-gpg=${GPG} --with-checksum =no--enable-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"255 BUILDOPTS="--quiet $TRUST --enable-debug --with-gpg=${GPG} --with-checksum --enable-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" 237 256 testrun1b_internal "${BUILDOPTS}" "$CONVERT" 238 257 do_test_1b … … 260 279 log_skip 3 $MAXTEST 'logging to prelude (or use --really-all)' 261 280 else 262 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"281 BUILDOPTS="--quiet $TRUST --enable-debug --with-prelude --with-gpg=${GPG} --with-checksum --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" 263 282 testrun1b_internal "${BUILDOPTS} CFLAGS=-DSH_NOFAILOVER=1" 264 283 do_test_1b_2
Note:
See TracChangeset
for help on using the changeset viewer.