diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-07-09 19:41:17 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-07-09 19:41:17 (GMT) |
commit | 17eca872f13fb7e880438dca76f40d371293bc8a (patch) | |
tree | 40cc2f0e22be7ebc357ebb2e696e44e7a2f406ae /tools/testfiles | |
parent | 637df34074604c314cd55a3b0cad733e35255ceb (diff) | |
download | hdf5-17eca872f13fb7e880438dca76f40d371293bc8a.zip hdf5-17eca872f13fb7e880438dca76f40d371293bc8a.tar.gz hdf5-17eca872f13fb7e880438dca76f40d371293bc8a.tar.bz2 |
[svn-r22531] HDFFV-5942: sort options with contents option
Added static local variables in h5trav to hold the index_by and index_order values. Defaults are set.
H5dump only use of the trav_print function, added two parameters and passed in the sort_by and sort_order variables.
Tested: local linux
Diffstat (limited to 'tools/testfiles')
-rw-r--r-- | tools/testfiles/tordercontents1.ddl | 11 | ||||
-rw-r--r-- | tools/testfiles/tordercontents2.ddl | 11 |
2 files changed, 22 insertions, 0 deletions
diff --git a/tools/testfiles/tordercontents1.ddl b/tools/testfiles/tordercontents1.ddl new file mode 100644 index 0000000..18c5589 --- /dev/null +++ b/tools/testfiles/tordercontents1.ddl @@ -0,0 +1,11 @@ +HDF5 "torderattr.h5" { +FILE_CONTENTS { + group / + dataset /d + dataset /dt + group /g + group /gt + datatype /t + datatype /tt + } +} diff --git a/tools/testfiles/tordercontents2.ddl b/tools/testfiles/tordercontents2.ddl new file mode 100644 index 0000000..430638b --- /dev/null +++ b/tools/testfiles/tordercontents2.ddl @@ -0,0 +1,11 @@ +HDF5 "torderattr.h5" { +FILE_CONTENTS { + group / + datatype /tt + datatype /t + group /gt + group /g + dataset /dt + dataset /d + } +} |