mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-29 04:53:48 +03:00
minor bug fix
This commit is contained in:
parent
5635776173
commit
2f1c174879
|
@ -17,9 +17,11 @@ rm -f output 2>/dev/null
|
||||||
cd $REGRESSION_SCRIPT
|
cd $REGRESSION_SCRIPT
|
||||||
echo "Regression test started at $(date)" 1>/tmp/regressiontest.log 2>&1
|
echo "Regression test started at $(date)" 1>/tmp/regressiontest.log 2>&1
|
||||||
python regressiontest.py 1>>/tmp/regressiontest.log 2>&1
|
python regressiontest.py 1>>/tmp/regressiontest.log 2>&1
|
||||||
echo "Regression test finished at $(date)" 1>>/tmp/regressiontest.log 2>&1
|
|
||||||
|
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
|
echo "Regression test finished at $(date)" 1>>/tmp/regressiontest.log 2>&1
|
||||||
cat /tmp/regressiontest.log | mailx -s "${SUBJECT}" -aFrom:${FROM} ${TO}
|
cat /tmp/regressiontest.log | mailx -s "${SUBJECT}" -aFrom:${FROM} ${TO}
|
||||||
|
else
|
||||||
|
echo "Regression test finished at $(date)" 1>>/tmp/regressiontest.log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user