From fbd6279a6bf2f85eba52c182dbc40590b540d8a6 Mon Sep 17 00:00:00 2001 From: Nicholas Malaya Date: Mon, 16 Jul 2012 19:16:36 +0000 Subject: [PATCH] updating exit code --- test_problems/cathermo/HMW_dupl_test/runtest | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test_problems/cathermo/HMW_dupl_test/runtest b/test_problems/cathermo/HMW_dupl_test/runtest index 7459e295b..414ea4f66 100755 --- a/test_problems/cathermo/HMW_dupl_test/runtest +++ b/test_problems/cathermo/HMW_dupl_test/runtest @@ -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