summaryrefslogtreecommitdiffstats
path: root/tools/testh5toh4
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testh5toh4')
-rw-r--r--tools/testh5toh43
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testh5toh4 b/tools/testh5toh4
index 6db3b78..ba8a3a3 100644
--- a/tools/testh5toh4
+++ b/tools/testh5toh4
@@ -340,7 +340,8 @@ CONVERT -m tcompound.h5 tall.h5 tloop.h5
CONVERT -m tdset2.h5 tcompound2.h5 tmany.h5
CONVERT -m tstr.h5 tstr2.h5
-if test "0" = "$nerrors"; then
+if test $nerrors -eq 0 ; then
echo "All h5toh4 tests passed."
fi
+exit $nerrors