[svn-r1283] Changed the shell to exit with number of errors encountered during

test.  This would signal to make something is incorrect.
This commit is contained in:
Albert Cheng 1999-05-26 15:14:19 -05:00
parent b583a01f5b
commit 009a989c32
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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