summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorRuey-Hsia Li <rli@ncsa.uiuc.edu>1998-09-03 20:16:05 (GMT)
committerRuey-Hsia Li <rli@ncsa.uiuc.edu>1998-09-03 20:16:05 (GMT)
commit85bd27dbd79f67b00b5ac11adec7d97f3af549d5 (patch)
treed8f08a9dd03d8bb8c85a14d5dc365dc45d823486 /tools/testfiles
parent7081f2d6e67e1ce5789485e30b6b996e8f51db77 (diff)
downloadhdf5-85bd27dbd79f67b00b5ac11adec7d97f3af549d5.zip
hdf5-85bd27dbd79f67b00b5ac11adec7d97f3af549d5.tar.gz
hdf5-85bd27dbd79f67b00b5ac11adec7d97f3af549d5.tar.bz2
[svn-r663] Expected output for the h5dump test.
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tall.ddl60
-rw-r--r--tools/testfiles/tattr.ddl22
-rw-r--r--tools/testfiles/tdset.ddl17
-rw-r--r--tools/testfiles/tgroup.ddl33
-rw-r--r--tools/testfiles/tslink.ddl13
5 files changed, 145 insertions, 0 deletions
diff --git a/tools/testfiles/tall.ddl b/tools/testfiles/tall.ddl
new file mode 100644
index 0000000..bfc2e4a
--- /dev/null
+++ b/tools/testfiles/tall.ddl
@@ -0,0 +1,60 @@
+#############################
+Expected output for './h5dump tall.h5'
+#############################
+HDF5 "tall.h5" {
+GROUP "/" {
+ ATTRIBUTE "attr1" {
+ DATATYPE { "H5T_NATIVE_CHAR" }
+ DATASPACE { ARRAY ( 10 ) ( 10 ) }
+ DATA {"abcdefghi\000"}
+ }
+ ATTRIBUTE "attr2" {
+ DATATYPE { "H5T_NATIVE_INT" }
+ DATASPACE { ARRAY ( 2, 2 ) ( 2, 2 ) }
+ DATA {0,1,2,3}
+ }
+ GROUP "g1" {
+ GROUP "g1.1" {
+ DATASET "dset1.1.1" {
+ DATATYPE { "H5T_NATIVE_INT" }
+ DATASPACE { ARRAY ( 10, 10 ) ( 10, 10 ) }
+ DATA {0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9}
+ ATTRIBUTE "attr1" {
+ DATATYPE { "H5T_NATIVE_CHAR" }
+ DATASPACE { ARRAY ( 27 ) ( 27 ) }
+ DATA {"1st attribute of dset1.1.1\000"}
+ }
+ ATTRIBUTE "attr2" {
+ DATATYPE { "H5T_NATIVE_CHAR" }
+ DATASPACE { ARRAY ( 27 ) ( 27 ) }
+ DATA {"2nd attribute of dset1.1.1\000"}
+ }
+ }
+ DATASET "dset1.1.2" {
+ DATATYPE { "H5T_NATIVE_INT" }
+ DATASPACE { ARRAY ( 20 ) ( 20 ) }
+ DATA {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
+ }
+ }
+ GROUP "g1.2" {
+ GROUP "g1.2.1" {
+ SOFTLINK "slink" {
+ linktarget "../somevalue/."
+ }
+ }
+ }
+ }
+ GROUP "g2" {
+ DATASET "dset2.1" {
+ DATATYPE { "H5T_NATIVE_FLOAT" }
+ DATASPACE { ARRAY ( 10 ) ( 10 ) }
+ DATA {1,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9}
+ }
+ DATASET "dset2.2" {
+ DATATYPE { "H5T_NATIVE_FLOAT" }
+ DATASPACE { ARRAY ( 3, 5 ) ( 3, 5 ) }
+ DATA {0,0,0,0,0,0.1,0.1,0.1,0.1,0.1,0.2,0.2,0.2,0.2,0.2}
+ }
+ }
+}
+}
diff --git a/tools/testfiles/tattr.ddl b/tools/testfiles/tattr.ddl
new file mode 100644
index 0000000..11f0c6f
--- /dev/null
+++ b/tools/testfiles/tattr.ddl
@@ -0,0 +1,22 @@
+#############################
+Expected output for './h5dump tattr.h5'
+#############################
+HDF5 "tattr.h5" {
+GROUP "/" {
+ ATTRIBUTE "attr1" {
+ DATATYPE { "H5T_NATIVE_CHAR" }
+ DATASPACE { ARRAY ( 24 ) ( 24 ) }
+ DATA {"attribute of root group\000"}
+ }
+ ATTRIBUTE "attr2" {
+ DATATYPE { "H5T_NATIVE_INT" }
+ DATASPACE { ARRAY ( 20 ) ( 20 ) }
+ DATA {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20}
+ }
+ ATTRIBUTE "attr3" {
+ DATATYPE { "H5T_NATIVE_DOUBLE" }
+ DATASPACE { ARRAY ( 10 ) ( 10 ) }
+ DATA {0.0001,0.0002,0.0003,0.0004,0.0005,0.0006,0.0007,0.0008,0.0009,0.001}
+ }
+}
+}
diff --git a/tools/testfiles/tdset.ddl b/tools/testfiles/tdset.ddl
new file mode 100644
index 0000000..0314833
--- /dev/null
+++ b/tools/testfiles/tdset.ddl
@@ -0,0 +1,17 @@
+#############################
+Expected output for './h5dump tdset.h5'
+#############################
+HDF5 "tdset.h5" {
+GROUP "/" {
+ DATASET "dset1" {
+ DATATYPE { "H5T_NATIVE_INT" }
+ DATASPACE { ARRAY ( 10, 20 ) ( 10, 20 ) }
+ DATA {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19}
+ }
+ DATASET "dset2" {
+ DATATYPE { "H5T_NATIVE_DOUBLE" }
+ DATASPACE { ARRAY ( 30, 10 ) ( 30, 10 ) }
+ DATA {0,1.1,2.2,3.3,4.4,5.5,6.6,7.7,8.8,9.9,1,2.1,3.2,4.3,5.4,6.5,7.6,8.7,9.8,10.9,2,3.1,4.2,5.3,6.4,7.5,8.6,9.7,10.8,11.9,3,4.1,5.2,6.3,7.4,8.5,9.6,10.7,11.8,12.9,4,5.1,6.2,7.3,8.4,9.5,10.6,11.7,12.8,13.9,5,6.1,7.2,8.3,9.4,10.5,11.6,12.7,13.8,14.9,6,7.1,8.2,9.3,10.4,11.5,12.6,13.7,14.8,15.9,7,8.1,9.2,10.3,11.4,12.5,13.6,14.7,15.8,16.9,8,9.1,10.2,11.3,12.4,13.5,14.6,15.7,16.8,17.9,9,10.1,11.2,12.3,13.4,14.5,15.6,16.7,17.8,18.9,10,11.1,12.2,13.3,14.4,15.5,16.6,17.7,18.8,19.9,11,12.1,13.2,14.3,15.4,16.5,17.6,18.7,19.8,20.9,12,13.1,14.2,15.3,16.4,17.5,18.6,19.7,20.8,21.9,13,14.1,15.2,16.3,17.4,18.5,19.6,20.7,21.8,22.9,14,15.1,16.2,17.3,18.4,19.5,20.6,21.7,22.8,23.9,15,16.1,17.2,18.3,19.4,20.5,21.6,22.7,23.8,24.9,16,17.1,18.2,19.3,20.4,21.5,22.6,23.7,24.8,25.9,17,18.1,19.2,20.3,21.4,22.5,23.6,24.7,25.8,26.9,18,19.1,20.2,21.3,22.4,23.5,24.6,25.7,26.8,27.9,19,20.1,21.2,22.3,23.4,24.5,25.6,26.7,27.8,28.9,20,21.1,22.2,23.3,24.4,25.5,26.6,27.7,28.8,29.9,21,22.1,23.2,24.3,25.4,26.5,27.6,28.7,29.8,30.9,22,23.1,24.2,25.3,26.4,27.5,28.6,29.7,30.8,31.9,23,24.1,25.2,26.3,27.4,28.5,29.6,30.7,31.8,32.9,24,25.1,26.2,27.3,28.4,29.5,30.6,31.7,32.8,33.9,25,26.1,27.2,28.3,29.4,30.5,31.6,32.7,33.8,34.9,26,27.1,28.2,29.3,30.4,31.5,32.6,33.7,34.8,35.9,27,28.1,29.2,30.3,31.4,32.5,33.6,34.7,35.8,36.9,28,29.1,30.2,31.3,32.4,33.5,34.6,35.7,36.8,37.9,29,30.1,31.2,32.3,33.4,34.5,35.6,36.7,37.8,38.9}
+ }
+}
+}
diff --git a/tools/testfiles/tgroup.ddl b/tools/testfiles/tgroup.ddl
new file mode 100644
index 0000000..a8241fc
--- /dev/null
+++ b/tools/testfiles/tgroup.ddl
@@ -0,0 +1,33 @@
+#############################
+Expected output for './h5dump tgroup.h5'
+#############################
+HDF5 "tgroup.h5" {
+GROUP "/" {
+ GROUP "g1" {
+ GROUP "g1.1" {
+ }
+ GROUP "g1.2" {
+ }
+ }
+ GROUP "g2" {
+ GROUP "g2.1" {
+ GROUP "g2.1.1" {
+ }
+ GROUP "g2.1.2" {
+ }
+ GROUP "g2.1.3" {
+ }
+ }
+ }
+ GROUP "g3" {
+ GROUP "g3.1" {
+ }
+ GROUP "g3.2" {
+ }
+ GROUP "g3.3" {
+ }
+ GROUP "g3.4" {
+ }
+ }
+}
+}
diff --git a/tools/testfiles/tslink.ddl b/tools/testfiles/tslink.ddl
new file mode 100644
index 0000000..051b0e1
--- /dev/null
+++ b/tools/testfiles/tslink.ddl
@@ -0,0 +1,13 @@
+#############################
+Expected output for './h5dump tslink.h5'
+#############################
+HDF5 "tslink.h5" {
+GROUP "/" {
+ SOFTLINK "slink1" {
+ linktarget "../../somevalue"
+ }
+ SOFTLINK "slink2" {
+ linktarget "linkvalue"
+ }
+}
+}