Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f1c174

Browse files
committed
minor bug fix
1 parent 5635776 commit 2f1c174

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

extra/shutils/regressiontest_cronjob.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ rm -f output 2>/dev/null
1717
cd $REGRESSION_SCRIPT
1818
echo "Regression test started at $(date)" 1>/tmp/regressiontest.log 2>&1
1919
python regressiontest.py 1>>/tmp/regressiontest.log 2>&1
20-
echo "Regression test finished at $(date)" 1>>/tmp/regressiontest.log 2>&1
2120

2221
if [ $? -ne 0 ]
2322
then
23+
echo "Regression test finished at $(date)" 1>>/tmp/regressiontest.log 2>&1
2424
cat /tmp/regressiontest.log | mailx -s "${SUBJECT}" -aFrom:${FROM} ${TO}
25+
else
26+
echo "Regression test finished at $(date)" 1>>/tmp/regressiontest.log 2>&1
2527
fi

0 commit comments

Comments
 (0)