summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tempty.ddl
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-01-03 19:20:18 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-01-03 19:20:18 (GMT)
commitb5809e0780b136f7062b1aaa27c793ef4399996b (patch)
tree3731540041283b03dc22aad35a585da559a838d5 /tools/testfiles/tempty.ddl
parentcf4ff99bdfa213a17e666a587a27b0314ac353c0 (diff)
downloadhdf5-b5809e0780b136f7062b1aaa27c793ef4399996b.zip
hdf5-b5809e0780b136f7062b1aaa27c793ef4399996b.tar.gz
hdf5-b5809e0780b136f7062b1aaa27c793ef4399996b.tar.bz2
[svn-r3230] Purpose:
Extra testing Description: Added tests to dump empty datasets to the h5dump and h5ls testing. Platforms tested: FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'tools/testfiles/tempty.ddl')
-rw-r--r--tools/testfiles/tempty.ddl65
1 files changed, 65 insertions, 0 deletions
diff --git a/tools/testfiles/tempty.ddl b/tools/testfiles/tempty.ddl
new file mode 100644
index 0000000..7751725
--- /dev/null
+++ b/tools/testfiles/tempty.ddl
@@ -0,0 +1,65 @@
+#############################
+Expected output for 'h5dump tempty.h5'
+#############################
+HDF5 "tempty.h5" {
+GROUP "/" {
+ DATASET "Dataset1.0" {
+ DATATYPE H5T_VLEN { H5T_STD_I32LE}
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (), (), (), ()
+ }
+ }
+ DATASET "Dataset2.0" {
+ DATATYPE H5T_STD_I32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ 0, 0, 0, 0
+ }
+ }
+ DATASET "Dataset3.0" {
+ DATATYPE H5T_IEEE_F32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ 0, 0, 0, 0
+ }
+ }
+ DATASET "Dataset4.0" {
+ DATATYPE H5T_ARRAY { [4] H5T_STD_I32LE }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ], [ 0, 0, 0, 0 ]
+ }
+ }
+ DATASET "Dataset5.0" {
+ DATATYPE H5T_COMPOUND {
+ H5T_STD_I32LE "a";
+ H5T_IEEE_F32LE "b";
+ H5T_STD_I8LE "c";
+ }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ {
+ 0,
+ 0,
+ 0
+ },
+ {
+ 0,
+ 0,
+ 0
+ },
+ {
+ 0,
+ 0,
+ 0
+ },
+ {
+ 0,
+ 0,
+ 0
+ }
+ }
+ }
+}
+}