Added an exit variable.
This commit is contained in:
parent
310377466d
commit
1211a0ed59
1 changed files with 5 additions and 4 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
#
|
||||
|
||||
temp_success="1"
|
||||
temp_success="0"
|
||||
/bin/rm -f output.txt outputa.txt
|
||||
|
||||
#################################################################
|
||||
|
|
@ -15,7 +15,7 @@ CANTERA_BIN=${CANTERA_BIN:=../../bin}
|
|||
retnStat=$?
|
||||
if [ $retnStat != "0" ]
|
||||
then
|
||||
temp_success="0"
|
||||
temp_success="1"
|
||||
echo "fracCoeff returned with bad status, $retnStat, check output"
|
||||
fi
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ then
|
|||
else
|
||||
echo "unsuccessful diff comparison on fracCoeff test"
|
||||
echo "FAILED" > csvCode.txt
|
||||
temp_success="0"
|
||||
temp_success="1"
|
||||
fi
|
||||
|
||||
../../bin/exp3to2.sh frac.xml > fraca.xml
|
||||
|
|
@ -40,7 +40,8 @@ then
|
|||
else
|
||||
echo "unsuccessful diff comparison on fracCoeff.xml test"
|
||||
echo "FAILED" > csvCode.txt
|
||||
temp_success="0"
|
||||
temp_success="1"
|
||||
fi
|
||||
|
||||
|
||||
exit $temp_success
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue