summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2020-01-23 03:30:36 (GMT)
committerkmu <kmu@hdfgroup.org>2020-01-23 03:30:36 (GMT)
commit2de0ce0d8ba2fb58fadefc5d718a3c0fedab25c8 (patch)
tree795739e979593ab3b0d0d3b4a6124c1f7049ab50 /tools/testfiles
parent408b9b1f3b8e84ba090c51e665d38eedef32c7ee (diff)
parentd7414053638316081f11fad78474b2c3cde336c5 (diff)
downloadhdf5-2de0ce0d8ba2fb58fadefc5d718a3c0fedab25c8.zip
hdf5-2de0ce0d8ba2fb58fadefc5d718a3c0fedab25c8.tar.gz
hdf5-2de0ce0d8ba2fb58fadefc5d718a3c0fedab25c8.tar.bz2
merge and fix conflict
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/trefer_attr.h5bin0 -> 7528 bytes
-rw-r--r--tools/testfiles/trefer_attrR.ddl76
-rw-r--r--tools/testfiles/trefer_compat.h5bin0 -> 11368 bytes
-rw-r--r--tools/testfiles/trefer_compatR.ddl114
-rw-r--r--tools/testfiles/trefer_ext1.h5bin0 -> 3088 bytes
-rw-r--r--tools/testfiles/trefer_ext2.h5bin0 -> 6216 bytes
-rw-r--r--tools/testfiles/trefer_extR.ddl34
-rw-r--r--tools/testfiles/trefer_grp.h5bin0 -> 4130 bytes
-rw-r--r--tools/testfiles/trefer_grpR.ddl15
-rw-r--r--tools/testfiles/trefer_obj.h5bin0 -> 104832 bytes
-rw-r--r--tools/testfiles/trefer_objR.ddl59
-rw-r--r--tools/testfiles/trefer_obj_del.h5bin0 -> 2066 bytes
-rw-r--r--tools/testfiles/trefer_obj_delR.ddl11
-rw-r--r--tools/testfiles/trefer_param.h5bin0 -> 5264 bytes
-rw-r--r--tools/testfiles/trefer_paramR.ddl43
-rw-r--r--tools/testfiles/trefer_reg.h5bin0 -> 6316 bytes
-rw-r--r--tools/testfiles/trefer_regR.ddl66
-rw-r--r--tools/testfiles/trefer_reg_1d.h5bin0 -> 6280 bytes
-rw-r--r--tools/testfiles/trefer_reg_1dR.ddl66
19 files changed, 484 insertions, 0 deletions
diff --git a/tools/testfiles/trefer_attr.h5 b/tools/testfiles/trefer_attr.h5
new file mode 100644
index 0000000..3110ce3
--- /dev/null
+++ b/tools/testfiles/trefer_attr.h5
Binary files differ
diff --git a/tools/testfiles/trefer_attrR.ddl b/tools/testfiles/trefer_attrR.ddl
new file mode 100644
index 0000000..e64c8e6
--- /dev/null
+++ b/tools/testfiles/trefer_attrR.ddl
@@ -0,0 +1,76 @@
+HDF5 "trefer_attr.h5" {
+GROUP "/" {
+ DATASET "Dataset3" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ ATTRIBUTE "trefer_attr.h5/Group1/Dataset1/Attr1" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 3, 6, 9
+ }
+ }
+ ATTRIBUTE "trefer_attr.h5/Group1/Dataset2/Attr1" {
+ NULL
+ }
+ ATTRIBUTE "trefer_attr.h5/Group1/Attr2" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 1, 4, 7, 10
+ }
+ }
+ ATTRIBUTE "trefer_attr.h5/Group1/Datatype1/Attr3" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 2, 5, 8, 11
+ }
+ }
+ }
+ }
+ GROUP "Group1" {
+ ATTRIBUTE "Attr2" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 1, 4, 7, 10
+ }
+ }
+ DATASET "Dataset1" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 0, 0, 0
+ }
+ ATTRIBUTE "Attr1" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 3, 6, 9
+ }
+ }
+ }
+ DATASET "Dataset2" {
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 0, 0, 0
+ }
+ }
+ DATATYPE "Datatype1" H5T_COMPOUND {
+ H5T_STD_I32LE "a";
+ H5T_STD_I32LE "b";
+ H5T_IEEE_F32LE "c";
+ }
+ ATTRIBUTE "Attr3" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 2, 5, 8, 11
+ }
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_compat.h5 b/tools/testfiles/trefer_compat.h5
new file mode 100644
index 0000000..5f6dd60
--- /dev/null
+++ b/tools/testfiles/trefer_compat.h5
Binary files differ
diff --git a/tools/testfiles/trefer_compatR.ddl b/tools/testfiles/trefer_compatR.ddl
new file mode 100644
index 0000000..97c7934
--- /dev/null
+++ b/tools/testfiles/trefer_compatR.ddl
@@ -0,0 +1,114 @@
+HDF5 "trefer_compat.h5" {
+GROUP "/" {
+ DATASET "Dataset3" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ DATASET "trefer_compat.h5/Group1/Dataset1"
+ DATA {
+ (0,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (1,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (2,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (3,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (4,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (5,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (6,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (7,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (8,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (9,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ }
+ DATASET "trefer_compat.h5/Group1/Dataset2"
+ DATA {
+ (0,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (1,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (2,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (3,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (4,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (5,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (6,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (7,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (8,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (9,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ }
+ GROUP "trefer_compat.h5/Group1"
+ DATATYPE "trefer_compat.h5/Group1/Datatype1"
+ }
+ }
+ DATASET "Dataset4" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG }
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ DATASET "trefer_compat.h5/Group1/Dataset1" {
+ REGION_TYPE BLOCK (2,2)-(7,7)
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0
+ }
+ }
+ DATASET "trefer_compat.h5/Group1/Dataset2" {
+ REGION_TYPE POINT (6,9), (2,2), (8,4), (1,6), (2,8), (3,2),
+ (0,4), (9,0), (7,1), (3,3)
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0,
+ 0
+ }
+ }
+ }
+ }
+ GROUP "Group1" {
+ DATASET "Dataset1" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ (0,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (1,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (2,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (3,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (4,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (5,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (6,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (7,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (8,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (9,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ }
+ }
+ DATASET "Dataset2" {
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ (0,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (1,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (2,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (3,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (4,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (5,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (6,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (7,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (8,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
+ (9,0): 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
+ }
+ }
+ DATATYPE "Datatype1" H5T_COMPOUND {
+ H5T_STD_I32LE "a";
+ H5T_STD_I32LE "b";
+ H5T_IEEE_F32LE "c";
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_ext1.h5 b/tools/testfiles/trefer_ext1.h5
new file mode 100644
index 0000000..9fc9741
--- /dev/null
+++ b/tools/testfiles/trefer_ext1.h5
Binary files differ
diff --git a/tools/testfiles/trefer_ext2.h5 b/tools/testfiles/trefer_ext2.h5
new file mode 100644
index 0000000..fcbb75d
--- /dev/null
+++ b/tools/testfiles/trefer_ext2.h5
Binary files differ
diff --git a/tools/testfiles/trefer_extR.ddl b/tools/testfiles/trefer_extR.ddl
new file mode 100644
index 0000000..3d4647d
--- /dev/null
+++ b/tools/testfiles/trefer_extR.ddl
@@ -0,0 +1,34 @@
+HDF5 "trefer_ext2.h5" {
+GROUP "/" {
+ DATASET "Dataset3" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ ATTRIBUTE "trefer_ext1.h5/Group1/Dataset1/Attr1" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 3, 6, 9
+ }
+ }
+ ATTRIBUTE "trefer_ext1.h5/Group1/Dataset2/Attr1" {
+ NULL
+ }
+ ATTRIBUTE "trefer_ext1.h5/Group1/Attr2" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 1, 4, 7, 10
+ }
+ }
+ ATTRIBUTE "trefer_ext1.h5/Group1/Datatype1/Attr3" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 2, 5, 8, 11
+ }
+ }
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_grp.h5 b/tools/testfiles/trefer_grp.h5
new file mode 100644
index 0000000..d846e75
--- /dev/null
+++ b/tools/testfiles/trefer_grp.h5
Binary files differ
diff --git a/tools/testfiles/trefer_grpR.ddl b/tools/testfiles/trefer_grpR.ddl
new file mode 100644
index 0000000..298b836
--- /dev/null
+++ b/tools/testfiles/trefer_grpR.ddl
@@ -0,0 +1,15 @@
+HDF5 "trefer_grp.h5" {
+GROUP "/" {
+ DATASET "dset" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SCALAR
+ DATA {
+ GROUP "trefer_grp.h5/group"
+ }
+ }
+ GROUP "group" {
+ GROUP "group3" {
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_obj.h5 b/tools/testfiles/trefer_obj.h5
new file mode 100644
index 0000000..de4c19d
--- /dev/null
+++ b/tools/testfiles/trefer_obj.h5
Binary files differ
diff --git a/tools/testfiles/trefer_objR.ddl b/tools/testfiles/trefer_objR.ddl
new file mode 100644
index 0000000..0d5af28
--- /dev/null
+++ b/tools/testfiles/trefer_objR.ddl
@@ -0,0 +1,59 @@
+HDF5 "trefer_obj.h5" {
+GROUP "/" {
+ DATASET "Dataset3" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ DATASET "trefer_obj.h5/Group1/Dataset1"
+ DATA {
+ (0): 0
+ }
+ }
+ }
+ DATASET "Dataset4" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF_OBJECT }
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ DATASET "trefer_obj.h5/Group1/Dataset1"
+ DATA {
+ (0): 0
+ }
+ }
+ }
+ DATASET "Dataset5" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ DATASET "trefer_obj.h5/Group1/Dataset1"
+ }
+ }
+ DATASET "Dataset6" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF_DSETREG }
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ DATASET "trefer_obj.h5/Group1/Dataset1"
+ }
+ }
+ GROUP "Group1" {
+ DATASET "Dataset1" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ (0): 0
+ }
+ }
+ DATASET "Dataset2" {
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ (0): 0
+ }
+ }
+ DATATYPE "Datatype1" H5T_COMPOUND {
+ H5T_STD_I32LE "a";
+ H5T_STD_I32LE "b";
+ H5T_IEEE_F32LE "c";
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_obj_del.h5 b/tools/testfiles/trefer_obj_del.h5
new file mode 100644
index 0000000..c1710e8
--- /dev/null
+++ b/tools/testfiles/trefer_obj_del.h5
Binary files differ
diff --git a/tools/testfiles/trefer_obj_delR.ddl b/tools/testfiles/trefer_obj_delR.ddl
new file mode 100644
index 0000000..fa238a5
--- /dev/null
+++ b/tools/testfiles/trefer_obj_delR.ddl
@@ -0,0 +1,11 @@
+HDF5 "trefer_obj_del.h5" {
+GROUP "/" {
+ DATASET "Dataset2" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SCALAR
+ DATA {
+ UNKNOWN "trefer_obj_del.h5"
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_param.h5 b/tools/testfiles/trefer_param.h5
new file mode 100644
index 0000000..234629a
--- /dev/null
+++ b/tools/testfiles/trefer_param.h5
Binary files differ
diff --git a/tools/testfiles/trefer_paramR.ddl b/tools/testfiles/trefer_paramR.ddl
new file mode 100644
index 0000000..ce9fa86
--- /dev/null
+++ b/tools/testfiles/trefer_paramR.ddl
@@ -0,0 +1,43 @@
+HDF5 "trefer_param.h5" {
+GROUP "/" {
+ DATASET "Dataset3" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ NULL
+ NULL
+ NULL
+ NULL
+ }
+ }
+ GROUP "Group1" {
+ COMMENT "Foo!"
+ DATASET "Dataset1" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 3, 6, 9
+ }
+ }
+ DATASET "Dataset2" {
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 0, 0, 0
+ }
+ ATTRIBUTE "Attr" {
+ DATATYPE H5T_STD_U32LE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 0, 3, 6, 9
+ }
+ }
+ }
+ DATATYPE "Datatype1" H5T_COMPOUND {
+ H5T_STD_I32LE "a";
+ H5T_STD_I32LE "b";
+ H5T_IEEE_F32LE "c";
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_reg.h5 b/tools/testfiles/trefer_reg.h5
new file mode 100644
index 0000000..8ed9184
--- /dev/null
+++ b/tools/testfiles/trefer_reg.h5
Binary files differ
diff --git a/tools/testfiles/trefer_regR.ddl b/tools/testfiles/trefer_regR.ddl
new file mode 100644
index 0000000..683c196
--- /dev/null
+++ b/tools/testfiles/trefer_regR.ddl
@@ -0,0 +1,66 @@
+HDF5 "trefer_reg.h5" {
+GROUP "/" {
+ DATASET "DS_NA" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 1 ) / ( 1 ) }
+ DATA {
+ NULL
+ }
+ }
+ DATASET "Dataset1" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ DATASET "trefer_reg.h5/Dataset2" {
+ REGION_TYPE BLOCK (2,2)-(7,7)
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ 66, 69, 72, 75, 78, 81,
+ 96, 99, 102, 105, 108, 111,
+ 126, 129, 132, 135, 138, 141,
+ 156, 159, 162, 165, 168, 171,
+ 186, 189, 192, 195, 198, 201,
+ 216, 219, 222, 225, 228, 231
+ }
+ }
+ DATASET "trefer_reg.h5/Dataset2" {
+ REGION_TYPE POINT (6,9), (2,2), (8,4), (1,6), (2,8), (3,2),
+ (0,4), (9,0), (7,1), (3,3)
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ 207,
+ 66,
+ 252,
+ 48,
+ 84,
+ 96,
+ 12,
+ 14,
+ 213,
+ 99
+ }
+ }
+ DATASET "trefer_reg.h5/Dataset2"
+ DATASET "trefer_reg.h5/Dataset2"
+ }
+ }
+ DATASET "Dataset2" {
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 10, 10 ) / ( 10, 10 ) }
+ DATA {
+ (0,0): 0, 3, 6, 9, 12, 15, 18, 21, 24, 27,
+ (1,0): 30, 33, 36, 39, 42, 45, 48, 51, 54, 57,
+ (2,0): 60, 63, 66, 69, 72, 75, 78, 81, 84, 87,
+ (3,0): 90, 93, 96, 99, 102, 105, 108, 111, 114, 117,
+ (4,0): 120, 123, 126, 129, 132, 135, 138, 141, 144, 147,
+ (5,0): 150, 153, 156, 159, 162, 165, 168, 171, 174, 177,
+ (6,0): 180, 183, 186, 189, 192, 195, 198, 201, 204, 207,
+ (7,0): 210, 213, 216, 219, 222, 225, 228, 231, 234, 237,
+ (8,0): 240, 243, 246, 249, 252, 255, 2, 5, 8, 11,
+ (9,0): 14, 17, 20, 23, 26, 29, 32, 35, 38, 41
+ }
+ }
+}
+}
diff --git a/tools/testfiles/trefer_reg_1d.h5 b/tools/testfiles/trefer_reg_1d.h5
new file mode 100644
index 0000000..932454d
--- /dev/null
+++ b/tools/testfiles/trefer_reg_1d.h5
Binary files differ
diff --git a/tools/testfiles/trefer_reg_1dR.ddl b/tools/testfiles/trefer_reg_1dR.ddl
new file mode 100644
index 0000000..3e5f652
--- /dev/null
+++ b/tools/testfiles/trefer_reg_1dR.ddl
@@ -0,0 +1,66 @@
+HDF5 "trefer_reg_1d.h5" {
+GROUP "/" {
+ DATASET "Dataset1" {
+ DATATYPE H5T_REFERENCE { H5T_STD_REF }
+ DATASPACE SIMPLE { ( 2 ) / ( 2 ) }
+ DATA {
+ DATASET "trefer_reg_1d.h5/Dataset2" {
+ REGION_TYPE BLOCK (2)-(3), (7)-(8), (12)-(13), (17)-(18),
+ (22)-(23), (27)-(28), (32)-(33), (37)-(38), (42)-(43),
+ (47)-(48), (52)-(53), (57)-(58), (62)-(63), (67)-(68),
+ (72)-(73)
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 100 ) / ( 100 ) }
+ DATA {
+ 6, 9,
+ 21, 24,
+ 36, 39,
+ 51, 54,
+ 66, 69,
+ 81, 84,
+ 96, 99,
+ 111, 114,
+ 126, 129,
+ 141, 144,
+ 156, 159,
+ 171, 174,
+ 186, 189,
+ 201, 204,
+ 216, 219
+ }
+ }
+ DATASET "trefer_reg_1d.h5/Dataset2" {
+ REGION_TYPE POINT (16), (22), (38), (41), (52), (63), (70),
+ (89), (97), (3)
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 100 ) / ( 100 ) }
+ DATA {
+ 48,
+ 66,
+ 114,
+ 123,
+ 156,
+ 189,
+ 210,
+ 11,
+ 35,
+ 9
+ }
+ }
+ }
+ }
+ DATASET "Dataset2" {
+ DATATYPE H5T_STD_U8LE
+ DATASPACE SIMPLE { ( 100 ) / ( 100 ) }
+ DATA {
+ (0): 0, 3, 6, 9, 12, 15, 18, 21, 24, 27, 30, 33, 36, 39, 42, 45, 48,
+ (17): 51, 54, 57, 60, 63, 66, 69, 72, 75, 78, 81, 84, 87, 90, 93, 96,
+ (33): 99, 102, 105, 108, 111, 114, 117, 120, 123, 126, 129, 132, 135,
+ (46): 138, 141, 144, 147, 150, 153, 156, 159, 162, 165, 168, 171, 174,
+ (59): 177, 180, 183, 186, 189, 192, 195, 198, 201, 204, 207, 210, 213,
+ (72): 216, 219, 222, 225, 228, 231, 234, 237, 240, 243, 246, 249, 252,
+ (85): 255, 2, 5, 8, 11, 14, 17, 20, 23, 26, 29, 32, 35, 38, 41
+ }
+ }
+}
+}