From: Marc Fiuczynski Date: Wed, 9 Jan 2008 22:24:23 +0000 (+0000) Subject: on failure send proper log file X-Git-Tag: 4.2-rc2~284 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=406d2b4518f0bec5eb989cc3e7f8f88152c3ceb6;p=build.git on failure send proper log file --- diff --git a/vtest-nightly.sh b/vtest-nightly.sh index 36011028..87021ad9 100644 --- a/vtest-nightly.sh +++ b/vtest-nightly.sh @@ -29,7 +29,7 @@ function failure() { cp $LOG ${WEBLOG} (echo -n "============================== $COMMAND: failure at " ; date ; tail -c 20k $WEBLOG) > ${WEBLOG}.ko if [ -n "$MAILTO" ] ; then - tail -c 20k ${WEBPATH}/${BASE}.log.txt | mail -s "Failures for test ${BASE}" $MAILTO + tail -c 20k ${WEBLOG} | mail -s "Failures for test ${BASE}" $MAILTO fi exit 1 }