updating exit code

This commit is contained in:
Nicholas Malaya 2012-07-16 19:16:36 +00:00
parent 430c43f762
commit fbd6279a6b

View file

@ -25,7 +25,7 @@ retnStat=$?
if [ $retnStat != "0" ]
then
temp_success="0"
echo "$prog returned with bad status, $retnStat, check output"
echo "$prog exited with bad status, $retnStat, check output"
fi
$CANTERA_BIN/exp3to2.sh output.txt > outputa.txt
@ -34,11 +34,11 @@ retnStat=$?
if [ $retnStat = "0" ]
then
echo "successful diff comparison on $prog test"
return 0
exit 0
else
echo "unsuccessful diff comparison on $prog test"
echo "FAILED" > csvCode.txt
temp_success="0"
return 1
exit 1
fi