summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/testh5dump.sh
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-04-24 22:24:47 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-04-24 22:24:47 (GMT)
commit68887995c8059f311a5f23c3e6096b4747de1a4c (patch)
treefe85740d071de84ee30b7af49d265647a965861e /tools/h5dump/testh5dump.sh
parentbf5b897dc9e35c68f38cd6abadf36459dfe76970 (diff)
downloadhdf5-68887995c8059f311a5f23c3e6096b4747de1a4c.zip
hdf5-68887995c8059f311a5f23c3e6096b4747de1a4c.tar.gz
hdf5-68887995c8059f311a5f23c3e6096b4747de1a4c.tar.bz2
[svn-r3853] Purpose:
Adding Tests Description: Added tests for the h5dump subsetting feature. Platforms tested: Linux
Diffstat (limited to 'tools/h5dump/testh5dump.sh')
-rwxr-xr-xtools/h5dump/testh5dump.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/h5dump/testh5dump.sh b/tools/h5dump/testh5dump.sh
index 05dfb09..2a64fa7 100755
--- a/tools/h5dump/testh5dump.sh
+++ b/tools/h5dump/testh5dump.sh
@@ -146,6 +146,12 @@ TOOLTEST tarray7.ddl tarray7.h5
# test for files with empty data
TOOLTEST tempty.ddl tempty.h5
+# test Subsetting
+TOOLTEST tall-4s.ddl --dataset=/g1/g1.1/dset1.1.1 --start=1,1 --stride=2,3 --count=3,2 --block=1,1 tall.h5
+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 XML
TOOLTEST tall.h5.xml --xml tall.h5
TOOLTEST tattr.h5.xml --xml tattr.h5