diff options
Diffstat (limited to 'hl/tools/gif2h5/h52giftest.sh')
-rw-r--r-- | hl/tools/gif2h5/h52giftest.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/hl/tools/gif2h5/h52giftest.sh b/hl/tools/gif2h5/h52giftest.sh index b07ec90..fa439aa 100644 --- a/hl/tools/gif2h5/h52giftest.sh +++ b/hl/tools/gif2h5/h52giftest.sh @@ -15,6 +15,8 @@ # # HDF Utilities Test script +TESTFILE="$srcdir/../testfiles/h52giftst.h5" + # initialize errors variable errors=0 @@ -28,7 +30,6 @@ TOOLTEST() err=0 $RUNSERIAL ./h52gif $* - if [ $err -eq 1 ]; then errors="` expr $errors + 1 `"; echo "*FAILED*" @@ -39,8 +40,8 @@ fi -TESTING "h52giftst.h5 image1.gif -i 1234567 -p palette" ; -TOOLTEST h52giftst.h5 image1.gif -i 1234567 -p palette +TESTING "h52giftst.h5 image1.gif -i 12345678 -p palette" ; +TOOLTEST $TESTFILE image1.gif -i 12345678 -p palette exit $errors |