summaryrefslogtreecommitdiffstats
path: root/tools/testfiles
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-14 13:54:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-14 13:54:11 (GMT)
commitbb392083b2a81aa942678e06a537a3c0ab5c08aa (patch)
tree9243c5965897315e4cbeef983f71b224498718c0 /tools/testfiles
parentdf075c5b9266b3b7a038fb1377d130ed315aa15c (diff)
downloadhdf5-bb392083b2a81aa942678e06a537a3c0ab5c08aa.zip
hdf5-bb392083b2a81aa942678e06a537a3c0ab5c08aa.tar.gz
hdf5-bb392083b2a81aa942678e06a537a3c0ab5c08aa.tar.bz2
[svn-r13297] Description:
Add small 'h5mkgrp' tool to create groups in an HDF5 file from the command line, allowing the group structure for a file to be created in a script. This tool closely follows the 'mkdir' command line tool in UNIX/Linux. Allow tool library applications to pass a FAPL to the h5tool_fopen() call, giving some additional flexibility to tools which are adding objects to an existing HDF5 file (like h5copy & h5mkgrp). Fix missing files in MANIFEST from previous checkin(s). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'tools/testfiles')
-rw-r--r--tools/testfiles/h5mkgrp_help.ls4
-rw-r--r--tools/testfiles/h5mkgrp_nested.ls10
-rw-r--r--tools/testfiles/h5mkgrp_nested_latest.ls12
-rw-r--r--tools/testfiles/h5mkgrp_nested_mult.ls16
-rw-r--r--tools/testfiles/h5mkgrp_nested_mult_latest.ls20
-rw-r--r--tools/testfiles/h5mkgrp_several.ls10
-rw-r--r--tools/testfiles/h5mkgrp_several_latest.ls12
-rw-r--r--tools/testfiles/h5mkgrp_single.ls7
-rw-r--r--tools/testfiles/h5mkgrp_single_latest.ls8
-rw-r--r--tools/testfiles/h5mkgrp_version.ls4
10 files changed, 103 insertions, 0 deletions
diff --git a/tools/testfiles/h5mkgrp_help.ls b/tools/testfiles/h5mkgrp_help.ls
new file mode 100644
index 0000000..ad2bd0f
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_help.ls
@@ -0,0 +1,4 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_help.h5'
+#############################
+../testfiles/h5mkgrp_help.h5: unable to open file
diff --git a/tools/testfiles/h5mkgrp_nested.ls b/tools/testfiles/h5mkgrp_nested.ls
new file mode 100644
index 0000000..acc3aba
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_nested.ls
@@ -0,0 +1,10 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_nested.h5'
+#############################
+Opened "../testfiles/h5mkgrp_nested.h5" with sec2 driver.
+/one Group
+ Location: 1:1520
+ Links: 1
+/one/two Group
+ Location: 1:808
+ Links: 1
diff --git a/tools/testfiles/h5mkgrp_nested_latest.ls b/tools/testfiles/h5mkgrp_nested_latest.ls
new file mode 100644
index 0000000..d47e358
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_nested_latest.ls
@@ -0,0 +1,12 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_nested_latest.h5'
+#############################
+Opened "../testfiles/h5mkgrp_nested_latest.h5" with sec2 driver.
+/one Group
+ Location: 1:612
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
+/one/two Group
+ Location: 1:354
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
diff --git a/tools/testfiles/h5mkgrp_nested_mult.ls b/tools/testfiles/h5mkgrp_nested_mult.ls
new file mode 100644
index 0000000..162da0c
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_nested_mult.ls
@@ -0,0 +1,16 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_nested_mult.h5'
+#############################
+Opened "../testfiles/h5mkgrp_nested_mult.h5" with sec2 driver.
+/one Group
+ Location: 1:1520
+ Links: 1
+/one/two Group
+ Location: 1:808
+ Links: 1
+/three Group
+ Location: 1:3600
+ Links: 1
+/three/four Group
+ Location: 1:2888
+ Links: 1
diff --git a/tools/testfiles/h5mkgrp_nested_mult_latest.ls b/tools/testfiles/h5mkgrp_nested_mult_latest.ls
new file mode 100644
index 0000000..548cf21
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_nested_mult_latest.ls
@@ -0,0 +1,20 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_nested_mult_latest.h5'
+#############################
+Opened "../testfiles/h5mkgrp_nested_mult_latest.h5" with sec2 driver.
+/one Group
+ Location: 1:612
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
+/one/two Group
+ Location: 1:354
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
+/three Group
+ Location: 1:1128
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
+/three/four Group
+ Location: 1:870
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
diff --git a/tools/testfiles/h5mkgrp_several.ls b/tools/testfiles/h5mkgrp_several.ls
new file mode 100644
index 0000000..e71e7a5
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_several.ls
@@ -0,0 +1,10 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_several.h5'
+#############################
+Opened "../testfiles/h5mkgrp_several.h5" with sec2 driver.
+/one Group
+ Location: 1:808
+ Links: 1
+/two Group
+ Location: 1:1848
+ Links: 1
diff --git a/tools/testfiles/h5mkgrp_several_latest.ls b/tools/testfiles/h5mkgrp_several_latest.ls
new file mode 100644
index 0000000..894855d
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_several_latest.ls
@@ -0,0 +1,12 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_several_latest.h5'
+#############################
+Opened "../testfiles/h5mkgrp_several_latest.h5" with sec2 driver.
+/one Group
+ Location: 1:354
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
+/two Group
+ Location: 1:612
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
diff --git a/tools/testfiles/h5mkgrp_single.ls b/tools/testfiles/h5mkgrp_single.ls
new file mode 100644
index 0000000..800b002
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_single.ls
@@ -0,0 +1,7 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_single.h5'
+#############################
+Opened "../testfiles/h5mkgrp_single.h5" with sec2 driver.
+/single Group
+ Location: 1:808
+ Links: 1
diff --git a/tools/testfiles/h5mkgrp_single_latest.ls b/tools/testfiles/h5mkgrp_single_latest.ls
new file mode 100644
index 0000000..d10628b
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_single_latest.ls
@@ -0,0 +1,8 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_single_latest.h5'
+#############################
+Opened "../testfiles/h5mkgrp_single_latest.h5" with sec2 driver.
+/latest Group
+ Location: 1:354
+ Links: 1
+ Modified: XXXX-XX-XX XX:XX:XX XXX
diff --git a/tools/testfiles/h5mkgrp_version.ls b/tools/testfiles/h5mkgrp_version.ls
new file mode 100644
index 0000000..907f0ad
--- /dev/null
+++ b/tools/testfiles/h5mkgrp_version.ls
@@ -0,0 +1,4 @@
+#############################
+Expected output for 'h5ls ../testfiles/h5mkgrp_version.h5'
+#############################
+../testfiles/h5mkgrp_version.h5: unable to open file