diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2010-04-27 20:22:48 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2010-04-27 20:22:48 (GMT) |
commit | 5edb7aabe4ffd8de40c74e044ec442cbeefabc4a (patch) | |
tree | dfaca0efc024ebcb609fd189c648df36a66916c0 /tools/h5ls/testh5ls.sh.in | |
parent | a0911ce3de9a658076ef0c115f38bb6ba131a9ef (diff) | |
download | hdf5-5edb7aabe4ffd8de40c74e044ec442cbeefabc4a.zip hdf5-5edb7aabe4ffd8de40c74e044ec442cbeefabc4a.tar.gz hdf5-5edb7aabe4ffd8de40c74e044ec442cbeefabc4a.tar.bz2 |
[svn-r18642] Purpose:
Fix for Bug 1793 - h5ls on a non-existent file gives 0 return code
Description:
After the fix, h5ls returns 1 (EXIT_FAILURE) if non-existent file is given.
Tested:
jam, amani, linew
Diffstat (limited to 'tools/h5ls/testh5ls.sh.in')
-rw-r--r-- | tools/h5ls/testh5ls.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5ls/testh5ls.sh.in b/tools/h5ls/testh5ls.sh.in index ddb09b5..367e539 100644 --- a/tools/h5ls/testh5ls.sh.in +++ b/tools/h5ls/testh5ls.sh.in @@ -173,7 +173,7 @@ TOOLTEST tattr2.ls 0 -w80 -v -S tattr2.h5 # tests for error handling. # test for non-existing file -TOOLTEST nosuchfile.ls 0 nosuchfile.h5 +TOOLTEST nosuchfile.ls 1 nosuchfile.h5 # test for variable length data types in verbose mode if test $WORDS_BIGENDIAN != "yes"; then |