summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-03-09 21:03:25 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-03-09 21:03:25 (GMT)
commit73957db45985363db42405071a6c71a972af8a96 (patch)
tree62a5dafaf9bd68815965382ce08bf74f58535680
parenta1a509083be7162a265ea5f3e278d31d6fed3629 (diff)
downloadhdf5-73957db45985363db42405071a6c71a972af8a96.zip
hdf5-73957db45985363db42405071a6c71a972af8a96.tar.gz
hdf5-73957db45985363db42405071a6c71a972af8a96.tar.bz2
[svn-r18399] Note:
missed to add extra files from previous check-in (r18398) Description: add test cases for h5copy - copy external links with/without ‘–f ext’ option (relate to bug 1733) Tested: jam, amani and linew
-rw-r--r--MANIFEST3
-rw-r--r--tools/h5copy/testfiles/h5copy_extlinks_src.h5bin0 -> 2184 bytes
-rw-r--r--tools/h5copy/testfiles/h5copy_extlinks_src.out.ls42
-rw-r--r--tools/h5copy/testfiles/h5copy_extlinks_trg.h5bin0 -> 2168 bytes
4 files changed, 45 insertions, 0 deletions
diff --git a/MANIFEST b/MANIFEST
index 46efc2c..5d2584c 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1633,6 +1633,9 @@
./tools/h5copy/testfiles/h5copytst.out.ls
./tools/h5copy/testfiles/h5copy_ref.h5
./tools/h5copy/testfiles/h5copy_ref.out.ls
+./tools/h5copy/testfiles/h5copy_extlinks_src.h5
+./tools/h5copy/testfiles/h5copy_extlinks_trg.h5
+./tools/h5copy/testfiles/h5copy_extlinks_src.out.ls
# test files for h5mkgrp
./tools/testfiles/h5mkgrp_help.ls
diff --git a/tools/h5copy/testfiles/h5copy_extlinks_src.h5 b/tools/h5copy/testfiles/h5copy_extlinks_src.h5
new file mode 100644
index 0000000..7b8621e
--- /dev/null
+++ b/tools/h5copy/testfiles/h5copy_extlinks_src.h5
Binary files differ
diff --git a/tools/h5copy/testfiles/h5copy_extlinks_src.out.ls b/tools/h5copy/testfiles/h5copy_extlinks_src.out.ls
new file mode 100644
index 0000000..a9927f8
--- /dev/null
+++ b/tools/h5copy/testfiles/h5copy_extlinks_src.out.ls
@@ -0,0 +1,42 @@
+#############################
+Expected output for 'h5ls ./testfiles/h5copy_extlinks_src.out.h5'
+#############################
+Opened "./testfiles/h5copy_extlinks_src.out.h5" with sec2 driver.
+/ Group
+ Location: 1:96
+ Links: 1
+/copy1_dset Dataset {6/6}
+ Location: 1:800
+ Links: 1
+ Storage: <details removed for portability>
+ Type: 32-bit little-endian integer
+/copy1_group Group
+ Location: 1:4344
+ Links: 1
+/copy1_group/extlink_datatype External Link {h5copy_extlinks_trg.h5//datatype}
+/copy1_group/extlink_dset External Link {h5copy_extlinks_trg.h5//simple}
+/copy1_group/extlink_grp External Link {h5copy_extlinks_trg.h5//group}
+/copy1_group/extlink_notyet1 External Link {h5copy_extlinks_trg.h5//notyet}
+/copy1_group/extlink_notyet2 External Link {notyet_file.h5//notyet}
+/copy2_dset Dataset {6/6}
+ Location: 1:4216
+ Links: 1
+ Storage: <details removed for portability>
+ Type: 32-bit little-endian integer
+/copy2_group Group
+ Location: 1:4712
+ Links: 1
+/copy2_group/extlink_datatype Type
+ Location: 1:5912
+ Links: 1
+ Type: shared-1:5912 32-bit little-endian integer
+/copy2_group/extlink_dset Dataset {6/6}
+ Location: 1:5080
+ Links: 1
+ Storage: <details removed for portability>
+ Type: 32-bit little-endian integer
+/copy2_group/extlink_grp Group
+ Location: 1:5872
+ Links: 1
+/copy2_group/extlink_notyet1 External Link {h5copy_extlinks_trg.h5//notyet}
+/copy2_group/extlink_notyet2 External Link {notyet_file.h5//notyet}
diff --git a/tools/h5copy/testfiles/h5copy_extlinks_trg.h5 b/tools/h5copy/testfiles/h5copy_extlinks_trg.h5
new file mode 100644
index 0000000..3a0242d
--- /dev/null
+++ b/tools/h5copy/testfiles/h5copy_extlinks_trg.h5
Binary files differ