From 73957db45985363db42405071a6c71a972af8a96 Mon Sep 17 00:00:00 2001 From: Jonathan Kim Date: Tue, 9 Mar 2010 16:03:25 -0500 Subject: [svn-r18399] Note: missed to add extra files from previous check-in (r18398) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description: add test cases for h5copy - copy external links with/without ‘–f ext’ option (relate to bug 1733) Tested: jam, amani and linew --- MANIFEST | 3 ++ tools/h5copy/testfiles/h5copy_extlinks_src.h5 | Bin 0 -> 2184 bytes tools/h5copy/testfiles/h5copy_extlinks_src.out.ls | 42 ++++++++++++++++++++++ tools/h5copy/testfiles/h5copy_extlinks_trg.h5 | Bin 0 -> 2168 bytes 4 files changed, 45 insertions(+) create mode 100644 tools/h5copy/testfiles/h5copy_extlinks_src.h5 create mode 100644 tools/h5copy/testfiles/h5copy_extlinks_src.out.ls create mode 100644 tools/h5copy/testfiles/h5copy_extlinks_trg.h5 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 Binary files /dev/null and b/tools/h5copy/testfiles/h5copy_extlinks_src.h5 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:
+ 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:
+ 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:
+ 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 Binary files /dev/null and b/tools/h5copy/testfiles/h5copy_extlinks_trg.h5 differ -- cgit v0.12