diff --git a/v2/simulation/test/simframe/test_simframe.sh b/v2/simulation/test/simframe/test_simframe.sh index 19cca670211325deb796a0ae55295e18fcaa5e18..e1713c364e8e03edf0e2466c0a8e7f1eb902ab8a 100644 --- a/v2/simulation/test/simframe/test_simframe.sh +++ b/v2/simulation/test/simframe/test_simframe.sh @@ -206,7 +206,7 @@ rm -f stdout.txt $PROGRAM $PROGRAM frames.dat output.dat &> stdout.txt if [ $? -eq 0 ] ; then printf "Failed!\n" ; exit 1 ; fi printf "\n ok \n" -iftisval stdout.txt "Error" "invalid file format ($PROGRAM)" +iftisval stdout.txt "Error" if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi printf "\n passed. \n" @@ -238,7 +238,7 @@ rm -f stdout.txt $PROGRAM t01.dat $PROGRAM output.dat &> stdout.txt if [ $? -eq 0 ] ; then printf "Failed!\n" ; exit 1 ; fi printf "\n ok \n" -iftisval stdout.txt "Error" "file contains no data ($PROGRAM)" +iftisval stdout.txt "Error" if [ $? -ne 0 ] ; then printf "Failed!\n" ; exit 1 ; fi printf "\n passed. \n"