summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/torderlinks1.ddl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-07-12 15:40:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-07-12 15:40:15 (GMT)
commit6e0eb24b7bc48bea6c12e221e4b8416d3bb08f06 (patch)
tree1b0b03e2ac170d6193704470d9d0f4a73a9b8bb7 /tools/testfiles/torderlinks1.ddl
parentb54b3fcf290d532de381e135254dfc343d338d24 (diff)
downloadhdf5-6e0eb24b7bc48bea6c12e221e4b8416d3bb08f06.zip
hdf5-6e0eb24b7bc48bea6c12e221e4b8416d3bb08f06.tar.gz
hdf5-6e0eb24b7bc48bea6c12e221e4b8416d3bb08f06.tar.bz2
[svn-r22564] HDFFV-8095: index order of links wrong
Create setters for indexing options in h5trav.c to be set before the obj table is created. Revert h5trav_print to remove now duplicated parameters. Added test and testfiles. Tested: local linux with cmake
Diffstat (limited to 'tools/testfiles/torderlinks1.ddl')
-rw-r--r--tools/testfiles/torderlinks1.ddl52
1 files changed, 52 insertions, 0 deletions
diff --git a/tools/testfiles/torderlinks1.ddl b/tools/testfiles/torderlinks1.ddl
new file mode 100644
index 0000000..eaf6eea
--- /dev/null
+++ b/tools/testfiles/torderlinks1.ddl
@@ -0,0 +1,52 @@
+HDF5 "tfcontents1.h5" {
+GROUP "/" {
+ DATATYPE "#5616" H5T_STD_I32BE;
+ DATASET "dset" {
+ DATATYPE H5T_STD_I32BE
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 1, 2, 3, 4
+ }
+ }
+ DATASET "dset3" {
+ HARDLINK "/dset"
+ }
+ DATASET "dset4" {
+ HARDLINK "/dset"
+ }
+ DATASET "dsetmytype2" {
+ DATATYPE "/#5616"
+ DATASPACE SIMPLE { ( 4 ) / ( 4 ) }
+ DATA {
+ (0): 1, 2, 3, 4
+ }
+ }
+ EXTERNAL_LINK "extlink" {
+ TARGETFILE "fname"
+ TARGETPATH "oname"
+ }
+ GROUP "g1" {
+ DATASET "dset1" {
+ HARDLINK "/dset"
+ }
+ GROUP "g1.1" {
+ DATASET "dset2" {
+ HARDLINK "/dset"
+ }
+ }
+ }
+ GROUP "g2" {
+ HARDLINK "/g1/g1.1"
+ }
+ SOFTLINK "mylink" {
+ LINKTARGET "mylink"
+ }
+ DATATYPE "mytype" H5T_STD_I32BE;
+ SOFTLINK "softlink" {
+ LINKTARGET "/dset"
+ }
+ USERDEFINED_LINK "udlink" {
+ LINKCLASS 187
+ }
+}
+}