Commit 56a603d1 authored by Vesa Oikonen's avatar Vesa Oikonen
Browse files

fixed to not give false error in macOS

parent 15195bce
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment