summaryrefslogtreecommitdiffstats
path: root/tools/testh5dump.sh
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>1999-05-26 20:14:19 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>1999-05-26 20:14:19 (GMT)
commit009a989c329919f725fb3b8900109e592150342e (patch)
treebaf4a4f6a46e99e6b168a2f7b785c0def64fe3b3 /tools/testh5dump.sh
parentb583a01f5b159f236165f4decff6ac7d6b75a9a5 (diff)
downloadhdf5-009a989c329919f725fb3b8900109e592150342e.zip
hdf5-009a989c329919f725fb3b8900109e592150342e.tar.gz
hdf5-009a989c329919f725fb3b8900109e592150342e.tar.bz2
[svn-r1283] Changed the shell to exit with number of errors encountered during
test. This would signal to make something is incorrect.
Diffstat (limited to 'tools/testh5dump.sh')
-rwxr-xr-xtools/testh5dump.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testh5dump.sh b/tools/testh5dump.sh
index c8026cd..a59b10f 100755
--- a/tools/testh5dump.sh
+++ b/tools/testh5dump.sh
@@ -123,7 +123,8 @@ DUMP tloop-1.ddl tloop.h5
# test for string
DUMP tstr-1.ddl tstr.h5
-if test "0" = "$nerrors"; then
+if test $nerrors -eq 0 ; then
echo "All h5dump tests passed."
fi
+exit $nerrors