on failure send proper log file
authorMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 9 Jan 2008 22:24:23 +0000 (22:24 +0000)
committerMarc Fiuczynski <mef@cs.princeton.edu>
Wed, 9 Jan 2008 22:24:23 +0000 (22:24 +0000)
vtest-nightly.sh

index 3601102..87021ad 100644 (file)
@@ -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
 }