summaryrefslogtreecommitdiffstats
path: root/hl/tools/gif2h5/h52giftest.sh
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2009-12-25 12:37:55 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2009-12-25 12:37:55 (GMT)
commit840e04ab5f5ce7fa5d07a3c9187944c27f9534e9 (patch)
treef7bcc6421a20d20e3a4ec5b029adf0097e8686ed /hl/tools/gif2h5/h52giftest.sh
parent06ce6af638e6eecd9a80c3e4757bb8361b68f889 (diff)
downloadhdf5-840e04ab5f5ce7fa5d07a3c9187944c27f9534e9.zip
hdf5-840e04ab5f5ce7fa5d07a3c9187944c27f9534e9.tar.gz
hdf5-840e04ab5f5ce7fa5d07a3c9187944c27f9534e9.tar.bz2
[svn-r18051] Bug fix: 1192
Description: Some exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: H5committested plus serial test in Jam.
Diffstat (limited to 'hl/tools/gif2h5/h52giftest.sh')
-rw-r--r--hl/tools/gif2h5/h52giftest.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/hl/tools/gif2h5/h52giftest.sh b/hl/tools/gif2h5/h52giftest.sh
index 7874bca..186b369 100644
--- a/hl/tools/gif2h5/h52giftest.sh
+++ b/hl/tools/gif2h5/h52giftest.sh
@@ -64,4 +64,10 @@ TESTING "./gif2h5 image1.gif image1.h5"
TOOLTEST2 $TESTFILE2 image1.h5
-exit $errors
+if test $errors -eq 0 ; then
+ echo "All h52gif tests passed."
+ exit 0
+else
+ echo "h52gif tests failed with $errors errors."
+ exit 1
+fi