summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/zerodim.ddl
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2011-04-20 21:34:49 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2011-04-20 21:34:49 (GMT)
commit4d0fbe96bc085d53f9964a4801bdb89d69edfed5 (patch)
treed6c227567ba7df7042f6e8bd36160e202757a820 /tools/testfiles/zerodim.ddl
parent73fde75a6c78ff075b610c407a0dd61bc6a24c30 (diff)
downloadhdf5-4d0fbe96bc085d53f9964a4801bdb89d69edfed5.zip
hdf5-4d0fbe96bc085d53f9964a4801bdb89d69edfed5.tar.gz
hdf5-4d0fbe96bc085d53f9964a4801bdb89d69edfed5.tar.bz2
[svn-r20579] Bug 1386 - allowing dimension size to be zero. I added test cases in the tests for h5dump and h5diff. I also added the
test cases in the CMAKE script. Tested on jam. But I tested the same change in the trunk with h5committest.
Diffstat (limited to 'tools/testfiles/zerodim.ddl')
-rw-r--r--tools/testfiles/zerodim.ddl19
1 files changed, 19 insertions, 0 deletions
diff --git a/tools/testfiles/zerodim.ddl b/tools/testfiles/zerodim.ddl
new file mode 100644
index 0000000..49c0a4c
--- /dev/null
+++ b/tools/testfiles/zerodim.ddl
@@ -0,0 +1,19 @@
+#############################
+Expected output for 'h5dump zerodim.h5'
+#############################
+HDF5 "zerodim.h5" {
+GROUP "/" {
+ ATTRIBUTE "attr of 0 dimension size" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 0, 0 ) / ( 0, 0 ) }
+ DATA {
+ }
+ }
+ DATASET "dset of 0 dimension size" {
+ DATATYPE H5T_STD_I32BE
+ DATASPACE SIMPLE { ( 0, 0 ) / ( 0, 0 ) }
+ DATA {
+ }
+ }
+}
+}