summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2002-02-27 21:52:19 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2002-02-27 21:52:19 (GMT)
commit78e3463dbb62dcc18ebab71eaa7ec675aa9d3cae (patch)
tree7358d2e41412b3720cfbd96706010f84bbd85643 /tools/testfiles
parentf6ecbd18b046ddbb504b7365d8b5f1a9eeb0f9a4 (diff)
downloadhdf5-78e3463dbb62dcc18ebab71eaa7ec675aa9d3cae.zip
hdf5-78e3463dbb62dcc18ebab71eaa7ec675aa9d3cae.tar.gz
hdf5-78e3463dbb62dcc18ebab71eaa7ec675aa9d3cae.tar.bz2
[svn-r5023] Purpose:
Bug Fix Description: There was a problem with having a lot of groups nested together. We could only handle 1024 characters at most, but, in a parallel program especially, it could occur that there were lots and lots of groups and would be more than 1024. Solution: I made the "objname" part of the obj_t structure a pointer instead of a fixed size. Added code to allocate/deallocate the memory we need for it. Had to fix how the "prefix" was being handled in the h5dump program. It was also set to only 1024 characters in length. I made it dynamic. Added a test case...Go me! Platforms tested: Linux, Solaris
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/tlarge_objname.ddl109
-rw-r--r--tools/testfiles/tlarge_objname.h5bin0 -> 57344 bytes
2 files changed, 109 insertions, 0 deletions
diff --git a/tools/testfiles/tlarge_objname.ddl b/tools/testfiles/tlarge_objname.ddl
new file mode 100644
index 0000000..c57ae25
--- /dev/null
+++ b/tools/testfiles/tlarge_objname.ddl
@@ -0,0 +1,109 @@
+#############################
+Expected output for 'h5dump -w157 tlarge_objname.h5'
+#############################
+HDF5 "tlarge_objname.h5" {
+GROUP "/" {
+ GROUP "this_is_a_large_group_name" {
+ GROUP "this_is_a_large_group_name0" {
+ GROUP "this_is_a_large_group_name1" {
+ GROUP "this_is_a_large_group_name2" {
+ GROUP "this_is_a_large_group_name3" {
+ GROUP "this_is_a_large_group_name4" {
+ GROUP "this_is_a_large_group_name5" {
+ GROUP "this_is_a_large_group_name6" {
+ GROUP "this_is_a_large_group_name7" {
+ GROUP "this_is_a_large_group_name8" {
+ GROUP "this_is_a_large_group_name9" {
+ GROUP "this_is_a_large_group_name10" {
+ GROUP "this_is_a_large_group_name11" {
+ GROUP "this_is_a_large_group_name12" {
+ GROUP "this_is_a_large_group_name13" {
+ GROUP "this_is_a_large_group_name14" {
+ GROUP "this_is_a_large_group_name15" {
+ GROUP "this_is_a_large_group_name16" {
+ GROUP "this_is_a_large_group_name17" {
+ GROUP "this_is_a_large_group_name18" {
+ GROUP "this_is_a_large_group_name19" {
+ GROUP "this_is_a_large_group_name20" {
+ GROUP "this_is_a_large_group_name21" {
+ GROUP "this_is_a_large_group_name22" {
+ GROUP "this_is_a_large_group_name23" {
+ GROUP "this_is_a_large_group_name24" {
+ GROUP "this_is_a_large_group_name25" {
+ GROUP "this_is_a_large_group_name26" {
+ GROUP "this_is_a_large_group_name27" {
+ GROUP "this_is_a_large_group_name28" {
+ GROUP "this_is_a_large_group_name29" {
+ GROUP "this_is_a_large_group_name30" {
+ GROUP "this_is_a_large_group_name31" {
+ GROUP "this_is_a_large_group_name32" {
+ GROUP "this_is_a_large_group_name33" {
+ GROUP "this_is_a_large_group_name34" {
+ GROUP "this_is_a_large_group_name35" {
+ GROUP "this_is_a_large_group_name36" {
+ GROUP "this_is_a_large_group_name37" {
+ GROUP "this_is_a_large_group_name38" {
+ GROUP "this_is_a_large_group_name39" {
+ GROUP "this_is_a_large_group_name40" {
+ GROUP "this_is_a_large_group_name41" {
+ GROUP "this_is_a_large_group_name42" {
+ GROUP "this_is_a_large_group_name43" {
+ GROUP "this_is_a_large_group_name44" {
+ GROUP "this_is_a_large_group_name45" {
+ GROUP "this_is_a_large_group_name46" {
+ GROUP "this_is_a_large_group_name47" {
+ GROUP "this_is_a_large_group_name48" {
+ GROUP "this_is_a_large_group_name49" {
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+}
diff --git a/tools/testfiles/tlarge_objname.h5 b/tools/testfiles/tlarge_objname.h5
new file mode 100644
index 0000000..b6fc299
--- /dev/null
+++ b/tools/testfiles/tlarge_objname.h5
Binary files differ