mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
[svn-r18984] Description:
Fixed exit code (sometimes return code in Main) to follow the HDF5 standards. Tested: Tested in Dove-linux only since change is trivial and has passed in v1.8.
This commit is contained in:
parent
7d1adc1f35
commit
21d186a8e7
@ -15,6 +15,10 @@
|
||||
#
|
||||
# Tests for the h5ls tool
|
||||
|
||||
TESTNAME=h5ls
|
||||
EXIT_SUCCESS=0
|
||||
EXIT_FAILURE=1
|
||||
|
||||
H5LS=h5ls # The tool name
|
||||
H5LS_BIN=`pwd`/$H5LS # The path of the tool binary
|
||||
|
||||
@ -207,7 +211,9 @@ fi
|
||||
|
||||
|
||||
if test $nerrors -eq 0 ; then
|
||||
echo "All h5ls tests passed."
|
||||
echo "All $TESTNAME tests passed."
|
||||
exit $EXIT_SUCCESS
|
||||
else
|
||||
echo "$TESTNAME tests failed with $nerrors errors."
|
||||
exit $EXIT_FAILURE
|
||||
fi
|
||||
|
||||
exit $nerrors
|
||||
|
Loading…
Reference in New Issue
Block a user