summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tregref.ddl
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-01-10 16:24:27 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-01-10 16:24:27 (GMT)
commit2a30e511b9c4f8dbcc5ab82765887f63c9b1184e (patch)
treeef7a2395a605109aab04f0f6c5ce69e3f1725290 /tools/testfiles/tregref.ddl
parent50926c2ae9752c69f84d2a2e7503df7bc1ab71b9 (diff)
downloadhdf5-2a30e511b9c4f8dbcc5ab82765887f63c9b1184e.zip
hdf5-2a30e511b9c4f8dbcc5ab82765887f63c9b1184e.tar.gz
hdf5-2a30e511b9c4f8dbcc5ab82765887f63c9b1184e.tar.bz2
[svn-r13132]
Fixed #720 h5dump: improve how region references are displayed. h5dump now uses the new API function H5Rget_name to display the name of the dataset referenced instead of its ID. Added a case to the script test file
Diffstat (limited to 'tools/testfiles/tregref.ddl')
-rw-r--r--tools/testfiles/tregref.ddl32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/testfiles/tregref.ddl b/tools/testfiles/tregref.ddl
new file mode 100644
index 0000000..32a1601
--- /dev/null
+++ b/tools/testfiles/tregref.ddl
@@ -0,0 +1,32 @@
+#############################
+Expected output for 'h5dump tdatareg.h5'
+#############################
+HDF5 "tdatareg.h5" {
+GROUP "/" {
+ DATASET "Dataset1" {
+ DATATYPE H5T_REFERENCE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): DATASET /Dataset2 {(2,2)-(7,7)}, DATASET /Dataset2 {(6,9), (2,2),
+ (1): (8,4), (1,6), (2,8), (3,2), (0,4), (9,0), (7,1), (3,3)}, NULL,
+ (3): NULL
+ }
+ }
+ DATASET "Dataset2" {
+ DATATYPE H5T_STD_U8BE
+ 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
+ }
+ }
+}
+}