summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-11-09 21:13:53 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-11-09 21:13:53 (GMT)
commit40b3a8dee9bd7ece6e9e3a2740d804e93c83f589 (patch)
treecfb50604505cedc8c4c09467ca1f0336ea43f7dd /tools/testfiles
parentf9d2419501f22f655738f717f758adab464b78a7 (diff)
downloadhdf5-40b3a8dee9bd7ece6e9e3a2740d804e93c83f589.zip
hdf5-40b3a8dee9bd7ece6e9e3a2740d804e93c83f589.tar.gz
hdf5-40b3a8dee9bd7ece6e9e3a2740d804e93c83f589.tar.bz2
[svn-r19751] Purpose:
Fixed Bug# 1979 Output from h5ls -rdlS on nested compound datatypes is difficult to parse. Description: Update to add curly brackets for the nested compound members, when S (--simple) option is used with -l (--label), so user can tell which members blong to which compound type. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32)
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tnestcomp-2.ls16
-rw-r--r--tools/testfiles/tnestcomp-3.ls26
-rw-r--r--tools/testfiles/tnestcomp-4.ls16
3 files changed, 58 insertions, 0 deletions
diff --git a/tools/testfiles/tnestcomp-2.ls b/tools/testfiles/tnestcomp-2.ls
new file mode 100644
index 0000000..be60e8d
--- /dev/null
+++ b/tools/testfiles/tnestcomp-2.ls
@@ -0,0 +1,16 @@
+#############################
+ output for 'h5ls -w80 -r -d -S tnestedcomp.h5'
+#############################
+/ Group
+/ArrayOfStructures Dataset {10}
+ Data:
+ 0 0 1 "A" -100 100
+ 1 1 0.5 "B" -100 100
+ 2 4 0.333333333333333 "C" -100 100
+ 3 9 0.25 "D" -100 100
+ 4 16 0.2 "E" -100 100
+ 5 25 0.166666666666667 "F" -100 100
+ 6 36 0.142857142857143 "G" -100 100
+ 7 49 0.125 "H" -100 100
+ 8 64 0.111111111111111 "I" -100 100
+ 9 81 0.1 "J" -100 100
diff --git a/tools/testfiles/tnestcomp-3.ls b/tools/testfiles/tnestcomp-3.ls
new file mode 100644
index 0000000..98eca8e
--- /dev/null
+++ b/tools/testfiles/tnestcomp-3.ls
@@ -0,0 +1,26 @@
+#############################
+ output for 'h5ls -w80 -r -d -l tnestedcomp.h5'
+#############################
+/ Group
+/ArrayOfStructures Dataset {10}
+ Data:
+ (0) {a_name=0, b_name=0, c_name=1, d_name={char_name="A",
+ (0) array_name=[-100,100]}},
+ (1) {a_name=1, b_name=1, c_name=0.5, d_name={char_name="B",
+ (1) array_name=[-100,100]}},
+ (2) {a_name=2, b_name=4, c_name=0.333333333333333,
+ (2) d_name={char_name="C", array_name=[-100,100]}},
+ (3) {a_name=3, b_name=9, c_name=0.25, d_name={char_name="D",
+ (3) array_name=[-100,100]}},
+ (4) {a_name=4, b_name=16, c_name=0.2, d_name={char_name="E",
+ (4) array_name=[-100,100]}},
+ (5) {a_name=5, b_name=25, c_name=0.166666666666667,
+ (5) d_name={char_name="F", array_name=[-100,100]}},
+ (6) {a_name=6, b_name=36, c_name=0.142857142857143,
+ (6) d_name={char_name="G", array_name=[-100,100]}},
+ (7) {a_name=7, b_name=49, c_name=0.125, d_name={char_name="H",
+ (7) array_name=[-100,100]}},
+ (8) {a_name=8, b_name=64, c_name=0.111111111111111,
+ (8) d_name={char_name="I", array_name=[-100,100]}},
+ (9) {a_name=9, b_name=81, c_name=0.1, d_name={char_name="J",
+ (9) array_name=[-100,100]}}
diff --git a/tools/testfiles/tnestcomp-4.ls b/tools/testfiles/tnestcomp-4.ls
new file mode 100644
index 0000000..6618597
--- /dev/null
+++ b/tools/testfiles/tnestcomp-4.ls
@@ -0,0 +1,16 @@
+#############################
+ output for 'h5ls -w80 -r -d -l -S tnestedcomp.h5'
+#############################
+/ Group
+/ArrayOfStructures Dataset {10}
+ Data:
+ {a_name=0 b_name=0 c_name=1 d_name={char_name="A" array_name=-100 100}}
+ {a_name=1 b_name=1 c_name=0.5 d_name={char_name="B" array_name=-100 100}}
+ {a_name=2 b_name=4 c_name=0.333333333333333 d_name={char_name="C" array_name=-100 100}}
+ {a_name=3 b_name=9 c_name=0.25 d_name={char_name="D" array_name=-100 100}}
+ {a_name=4 b_name=16 c_name=0.2 d_name={char_name="E" array_name=-100 100}}
+ {a_name=5 b_name=25 c_name=0.166666666666667 d_name={char_name="F" array_name=-100 100}}
+ {a_name=6 b_name=36 c_name=0.142857142857143 d_name={char_name="G" array_name=-100 100}}
+ {a_name=7 b_name=49 c_name=0.125 d_name={char_name="H" array_name=-100 100}}
+ {a_name=8 b_name=64 c_name=0.111111111111111 d_name={char_name="I" array_name=-100 100}}
+ {a_name=9 b_name=81 c_name=0.1 d_name={char_name="J" array_name=-100 100}}