summaryrefslogtreecommitdiffstats
path: root/tools/testfiles/tnofilename.ddl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-02-13 14:18:09 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-02-13 14:18:09 (GMT)
commit12339b0759c5c7ddeebd59a7a1c0c7b7e6f9156d (patch)
tree977889da7a5ad34143ff904bebabc3c8d49ba7aa /tools/testfiles/tnofilename.ddl
parent841a7f4b50c886112e59a1eb70ba87a4693a2973 (diff)
downloadhdf5-12339b0759c5c7ddeebd59a7a1c0c7b7e6f9156d.zip
hdf5-12339b0759c5c7ddeebd59a7a1c0c7b7e6f9156d.tar.gz
hdf5-12339b0759c5c7ddeebd59a7a1c0c7b7e6f9156d.tar.bz2
[svn-r21931] HDFFV-7689 - could not not use a "[" character in a dataset name.
A second problem also discovered was an if statement that should have comapered lengths of a string actually was comapring addreeses. Once thatt was fixed, The "[" character could be used but broke other functionality. Consultation with tools team resulted in the creation of a "--no-subset" option to disable interpretation of "[" character as a subsetting compact-form. This also eliminated and cleaned up the code containing the plomatic if statement. Tested: local linux and added test, CMake updated autotools test to be added next.
Diffstat (limited to 'tools/testfiles/tnofilename.ddl')
-rw-r--r--tools/testfiles/tnofilename.ddl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testfiles/tnofilename.ddl b/tools/testfiles/tnofilename.ddl
index da79fbc..f9bd972 100644
--- a/tools/testfiles/tnofilename.ddl
+++ b/tools/testfiles/tnofilename.ddl
@@ -34,6 +34,8 @@ usage: h5dump [OPTIONS] file
E.g., to dump a file called `-f', use h5dump -- -f
--enable-error-stack Prints messages from the HDF5 error stack as they
occur.
+ --no-compact-subset Disable compact form of subsetting and allow the use
+ of "[" in datset names.
Subsetting is available by using the following options with a dataset
attribute. Subsetting is done by selecting a hyperslab from the data.
@@ -71,7 +73,7 @@ usage: h5dump [OPTIONS] file
1) Attribute foo of the group /bar_none in file quux.h5
- h5dump -a /bar_none/foo quux.h5
+ h5dump -a /bar_none/foo quux.h5
2) Selecting a subset from dataset /foo in file quux.h5