summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2011-02-04 20:35:25 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2011-02-04 20:35:25 (GMT)
commit89a47692e9d14798dd2e7506a34f74810c1259dc (patch)
treea9fd7dcda8baeca8c611f7f0ea312f6a84a1b73e /tools/testfiles
parentba13827093c38cb9d87ae87e59d47a34415c88cb (diff)
downloadhdf5-89a47692e9d14798dd2e7506a34f74810c1259dc.zip
hdf5-89a47692e9d14798dd2e7506a34f74810c1259dc.tar.gz
hdf5-89a47692e9d14798dd2e7506a34f74810c1259dc.tar.bz2
[svn-r20044] Fix bz2127 by dynamically allocating storgae for comments.
Tested: local linux
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tgrp_comments.ddl3
-rw-r--r--tools/testfiles/tgrp_comments.h5bin14336 -> 13248 bytes
-rw-r--r--tools/testfiles/tgrp_comments.ls8
3 files changed, 11 insertions, 0 deletions
diff --git a/tools/testfiles/tgrp_comments.ddl b/tools/testfiles/tgrp_comments.ddl
index 6321b36..460a9f0 100644
--- a/tools/testfiles/tgrp_comments.ddl
+++ b/tools/testfiles/tgrp_comments.ddl
@@ -42,5 +42,8 @@ GROUP "/" {
COMMENT "Comment for group /g3/g3.4"
}
}
+ GROUP "glongcomment" {
+ COMMENT "Comment for group /glongcomment with a really, really, really long, long, long comment"
+ }
}
}
diff --git a/tools/testfiles/tgrp_comments.h5 b/tools/testfiles/tgrp_comments.h5
index 70c7cce..ddd2eec 100644
--- a/tools/testfiles/tgrp_comments.h5
+++ b/tools/testfiles/tgrp_comments.h5
Binary files differ
diff --git a/tools/testfiles/tgrp_comments.ls b/tools/testfiles/tgrp_comments.ls
new file mode 100644
index 0000000..e4c7d42
--- /dev/null
+++ b/tools/testfiles/tgrp_comments.ls
@@ -0,0 +1,8 @@
+#############################
+ output for 'h5ls -w80 -v -g tgrp_comments.h5/glongcomment'
+#############################
+Opened "tgrp_comments.h5" with sec2 driver.
+glongcomment Group
+ Location: 1:12424
+ Links: 1
+ Comment: "Comment for group /glongcomment with a really, really, really long, long, long comment"