summaryrefslogtreecommitdiffstats
path: root/tools/testh5dump.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testh5dump.sh')
-rwxr-xr-xtools/testh5dump.sh37
1 files changed, 24 insertions, 13 deletions
diff --git a/tools/testh5dump.sh b/tools/testh5dump.sh
index cb68db7..5645d60 100755
--- a/tools/testh5dump.sh
+++ b/tools/testh5dump.sh
@@ -69,35 +69,46 @@ DUMP()
##############################################################################
##############################################################################
+# test for displaying groups
DUMP tgroup-1.ddl tgroup.h5
-DUMP tgroup-2.ddl -g / tgroup.h5
-DUMP tgroup-3.ddl -g /g2 /y tgroup.h5
+# test for displaying the selected groups
+DUMP tgroup-2.ddl -g /g2 / /y tgroup.h5
+# test for displaying simple space datasets
DUMP tdset-1.ddl tdset.h5
-DUMP tdset-2.ddl -d dset1 /dset2 tdset.h5
-DUMP tdset-3.ddl -d /dset1 -header tdset.h5
-DUMP tdset-4.ddl -d dset3 tdset.h5
+# test for displaying selected datasets
+DUMP tdset-2.ddl -header -d dset1 /dset2 dset3 tdset.h5
+# test for displaying attributes
DUMP tattr-1.ddl tattr.h5
-DUMP tattr-2.ddl -a attr1 attr3 tattr.h5
-DUMP tattr-3.ddl -header -a attr2 tattr.h5
-DUMP tattr-4.ddl -a attr4 tattr.h5
+# test for displaying the selected attributes of string type and scalar space
+DUMP tattr-2.ddl -a attr1 attr4 attr5 tattr.h5
+# test for header and error messages
+DUMP tattr-3.ddl -header -a attr2 attr tattr.h5
+# test for displaying soft links
DUMP tslink-1.ddl tslink.h5
+# test for displaying the selected link
DUMP tslink-2.ddl -l slink2 tslink.h5
+# tests for hard links
DUMP thlink-1.ddl thlink.h5
-DUMP thlink-2.ddl -d /g1/link2 /dset /g1/link1/link3 thlink.h5
-DUMP thlink-3.ddl -d /dset /g1/link1/link3 /g1/link2 thlink.h5
+DUMP thlink-2.ddl -d /g1/dset2 /dset1 /g1/g1.1/dset3 thlink.h5
+DUMP thlink-3.ddl -d /g1/g1.1/dset3 /g1/dset2 /dset1 thlink.h5
DUMP thlink-4.ddl -g /g1 thlink.h5
-DUMP thlink-5.ddl -d /dset -g /g2 -d /g1/link2 thlink.h5
+DUMP thlink-5.ddl -d /dset1 -g /g2 -d /g1/dset2 thlink.h5
+# tests for compound data types
DUMP tcomp-1.ddl tcompound.h5
+# test for named data types
DUMP tcomp-2.ddl -t /type1 /type2 /group1/type3 tcompound.h5
-DUMP tcomp-3.ddl -d /group2/dset5 -g /group1 tcompound.h5
-DUMP tcomp-4.ddl -t /#3432:0 -g /group2 tcompound.h5
+# test for unamed type
+DUMP tcomp-3.ddl -t /#5992:0 -g /group2 tcompound.h5
+# test for options
DUMP tall-1.ddl tall.h5
DUMP tall-2.ddl -header -g /g1/g1.1 -a attr2 tall.h5
DUMP tall-3.ddl -d /g2/dset2.1 -l /g1/g1.2/g1.2.1/slink tall.h5
+# test for loop detection
+DUMP tloop-1.ddl tloop.h5