Skip to content
Snippets Groups Projects
Commit 56a603d1 authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

fixed to not give false error in macOS

parent 15195bce
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment