From 56a603d1c498ea4d9e0294208c7229a0e7ace055 Mon Sep 17 00:00:00 2001 From: Vesa Oikonen <vesoik@utu.fi> Date: Tue, 3 Sep 2019 11:33:48 +0300 Subject: [PATCH] fixed to not give false error in macOS --- v2/simulation/test/simframe/test_simframe.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v2/simulation/test/simframe/test_simframe.sh b/v2/simulation/test/simframe/test_simframe.sh index 19cca670..e1713c36 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" -- GitLab