summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/testh5dump.sh
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2002-10-16 05:31:00 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2002-10-16 05:31:00 (GMT)
commit3ec37aad96a3dbc490497a5bdde889822651e4bd (patch)
tree71d12a6bd34c8216ab575414a3f397ddd5e05844 /tools/h5dump/testh5dump.sh
parent7e105d1066908b91f047b46c33e00cec73fa52f6 (diff)
downloadhdf5-3ec37aad96a3dbc490497a5bdde889822651e4bd.zip
hdf5-3ec37aad96a3dbc490497a5bdde889822651e4bd.tar.gz
hdf5-3ec37aad96a3dbc490497a5bdde889822651e4bd.tar.bz2
[svn-r6007] Purpose:
Improvement Description: Moved the code parsing for missing file name in the parse_command_line routine. Added a test checking if the tool fails as expected when no file name is given. Platforms tested: Tested h5committest {arabica (fortran), eirene (fortran, C++) modi4 (parallel, fortran)}? YES Misc. update: Update MANIFEST if you add or remove any file. YES, added nofilename.ddl
Diffstat (limited to 'tools/h5dump/testh5dump.sh')
-rwxr-xr-xtools/h5dump/testh5dump.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5dump/testh5dump.sh b/tools/h5dump/testh5dump.sh
index e3275fd..fe7f1a1 100755
--- a/tools/h5dump/testh5dump.sh
+++ b/tools/h5dump/testh5dump.sh
@@ -173,6 +173,10 @@ TOOLTEST tall-5s.ddl -d "/g1/g1.1/dset1.1.2[0;2;10;]" tall.h5
TOOLTEST tdset-3s.ddl -d "/dset1[1,1;;;]" tdset.h5
TOOLTEST tdset2-1s.ddl -d "/dset1[;3,2;4,4;1,4]" tdset2.h5
+# test failure handling
+# Missing file name
+TOOLTEST nofilename.ddl
+
# test XML
TOOLTEST tall.h5.xml --xml tall.h5
TOOLTEST tattr.h5.xml --xml tattr.h5