summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-08-12 21:58:31 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-08-12 21:58:31 (GMT)
commit5d0b400f690631f3ad5ce56070e1fca34ef5042b (patch)
tree09f978083b42ea431ab07c82bf1db6e5fd4016bf /tools/testfiles
parenta3204d77e7e8f7b15b01a424ac1789e1f29ad210 (diff)
downloadhdf5-5d0b400f690631f3ad5ce56070e1fca34ef5042b.zip
hdf5-5d0b400f690631f3ad5ce56070e1fca34ef5042b.tar.gz
hdf5-5d0b400f690631f3ad5ce56070e1fca34ef5042b.tar.bz2
[svn-r23996] HDFFV-7989: Add any_path option to search the file for paths. New test added, scripts updated, help text updated.
Tested: local linux
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/h5dump-help.txt2
-rw-r--r--tools/testfiles/tall-7.ddl9
-rw-r--r--tools/testfiles/tall-7N.ddl17
-rw-r--r--tools/testfiles/tnofilename-with-packed-bits.ddl2
-rw-r--r--tools/testfiles/tpbitsIncomplete.ddl2
-rw-r--r--tools/testfiles/tpbitsLengthExceeded.ddl2
-rw-r--r--tools/testfiles/tpbitsLengthPositive.ddl2
-rw-r--r--tools/testfiles/tpbitsMaxExceeded.ddl2
-rw-r--r--tools/testfiles/tpbitsOffsetExceeded.ddl2
-rw-r--r--tools/testfiles/tpbitsOffsetNegative.ddl2
10 files changed, 42 insertions, 0 deletions
diff --git a/tools/testfiles/h5dump-help.txt b/tools/testfiles/h5dump-help.txt
index 4367cb5..2a59a32 100644
--- a/tools/testfiles/h5dump-help.txt
+++ b/tools/testfiles/h5dump-help.txt
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------
diff --git a/tools/testfiles/tall-7.ddl b/tools/testfiles/tall-7.ddl
new file mode 100644
index 0000000..f0ad5ea
--- /dev/null
+++ b/tools/testfiles/tall-7.ddl
@@ -0,0 +1,9 @@
+HDF5 "tall.h5" {
+ATTRIBUTE "attr1" {
+ DATATYPE H5T_STD_I8BE
+ DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
+ DATA {
+ (0): 97, 98, 99, 100, 101, 102, 103, 104, 105, 0
+ }
+}
+}
diff --git a/tools/testfiles/tall-7N.ddl b/tools/testfiles/tall-7N.ddl
new file mode 100644
index 0000000..cba5774
--- /dev/null
+++ b/tools/testfiles/tall-7N.ddl
@@ -0,0 +1,17 @@
+HDF5 "tall.h5" {
+ATTRIBUTE "attr1" {
+ DATATYPE H5T_STD_I8BE
+ DATASPACE SIMPLE { ( 10 ) / ( 10 ) }
+ DATA {
+ (0): 97, 98, 99, 100, 101, 102, 103, 104, 105, 0
+ }
+}
+ATTRIBUTE "attr1" {
+ DATATYPE H5T_STD_I8BE
+ DATASPACE SIMPLE { ( 27 ) / ( 27 ) }
+ DATA {
+ (0): 49, 115, 116, 32, 97, 116, 116, 114, 105, 98, 117, 116, 101, 32, 111,
+ (15): 102, 32, 100, 115, 101, 116, 49, 46, 49, 46, 49, 0
+ }
+}
+}
diff --git a/tools/testfiles/tnofilename-with-packed-bits.ddl b/tools/testfiles/tnofilename-with-packed-bits.ddl
index e22cd82..1ad1249 100644
--- a/tools/testfiles/tnofilename-with-packed-bits.ddl
+++ b/tools/testfiles/tnofilename-with-packed-bits.ddl
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------
diff --git a/tools/testfiles/tpbitsIncomplete.ddl b/tools/testfiles/tpbitsIncomplete.ddl
index a7e1d02..1468ad1 100644
--- a/tools/testfiles/tpbitsIncomplete.ddl
+++ b/tools/testfiles/tpbitsIncomplete.ddl
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------
diff --git a/tools/testfiles/tpbitsLengthExceeded.ddl b/tools/testfiles/tpbitsLengthExceeded.ddl
index 62ca870..557f2a7 100644
--- a/tools/testfiles/tpbitsLengthExceeded.ddl
+++ b/tools/testfiles/tpbitsLengthExceeded.ddl
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------
diff --git a/tools/testfiles/tpbitsLengthPositive.ddl b/tools/testfiles/tpbitsLengthPositive.ddl
index 2a69f14..342e4e8 100644
--- a/tools/testfiles/tpbitsLengthPositive.ddl
+++ b/tools/testfiles/tpbitsLengthPositive.ddl
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------
diff --git a/tools/testfiles/tpbitsMaxExceeded.ddl b/tools/testfiles/tpbitsMaxExceeded.ddl
index aafdd91..eb569d2 100644
--- a/tools/testfiles/tpbitsMaxExceeded.ddl
+++ b/tools/testfiles/tpbitsMaxExceeded.ddl
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------
diff --git a/tools/testfiles/tpbitsOffsetExceeded.ddl b/tools/testfiles/tpbitsOffsetExceeded.ddl
index 960f62b..a00b561 100644
--- a/tools/testfiles/tpbitsOffsetExceeded.ddl
+++ b/tools/testfiles/tpbitsOffsetExceeded.ddl
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------
diff --git a/tools/testfiles/tpbitsOffsetNegative.ddl b/tools/testfiles/tpbitsOffsetNegative.ddl
index c113866..aa6e79b 100644
--- a/tools/testfiles/tpbitsOffsetNegative.ddl
+++ b/tools/testfiles/tpbitsOffsetNegative.ddl
@@ -21,6 +21,8 @@ usage: h5dump [OPTIONS] files
-g P, --group=P Print the specified group and all members
-l P, --soft-link=P Print the value(s) of the specified soft link
-t P, --datatype=P Print the specified named datatype
+ -N P, --any_path=P Print any attribute, dataset, group, datatype, or link that matches P
+ P can be the absolute path or just a relative path.
-A, --onlyattr Print the header and value of attributes
Optional value 0 suppresses printing attributes.
--------------- Object Property Options ---------------