summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-01-21 18:29:56 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-01-21 18:29:56 (GMT)
commit64651d6954fd9f7010b978df0a1d25fdf376e8b8 (patch)
tree05833d3e8b0718e2f2028d5f41792c851bd32795 /tools/h5dump
parentc5988b31d32d35a782559c79b84e6d915966bd14 (diff)
downloadhdf5-64651d6954fd9f7010b978df0a1d25fdf376e8b8.zip
hdf5-64651d6954fd9f7010b978df0a1d25fdf376e8b8.tar.gz
hdf5-64651d6954fd9f7010b978df0a1d25fdf376e8b8.tar.bz2
[svn-r19971] Purpose:
h5dump: add dangling external link test case as part of Chicago project. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
Diffstat (limited to 'tools/h5dump')
-rw-r--r--tools/h5dump/CMakeLists.txt7
-rw-r--r--tools/h5dump/testh5dump.sh.in3
2 files changed, 10 insertions, 0 deletions
diff --git a/tools/h5dump/CMakeLists.txt b/tools/h5dump/CMakeLists.txt
index 2a74419..e8e88ad 100644
--- a/tools/h5dump/CMakeLists.txt
+++ b/tools/h5dump/CMakeLists.txt
@@ -83,6 +83,7 @@ IF (BUILD_TESTING)
texternal.ddl
textlinksrc.ddl
textlinkfar.ddl
+ textlink.ddl
tfamily.ddl
tfill.ddl
tfletcher32.ddl
@@ -243,6 +244,7 @@ IF (BUILD_TESTING)
textlinkfar.h5
textlinksrc.h5
textlinktar.h5
+ textlink.h5
tfamily00000.h5
tfamily00001.h5
tfamily00002.h5
@@ -568,6 +570,8 @@ IF (BUILD_TESTING)
textlinksrc.out.err
textlinkfar.out
textlinkfar.out.err
+ textlink.out
+ textlink.out.err
tfamily.out
tfamily.out.err
tfill.out
@@ -1002,6 +1006,9 @@ IF (BUILD_TESTING)
ADD_H5_TEST (textlinksrc 0 textlinksrc.h5)
ADD_H5_TEST (textlinkfar 0 textlinkfar.h5)
+ # test for dangling external links
+ ADD_H5_TEST (textlink 0 textlink.h5)
+
####### test for dataset packed bits ######
IF (HDF5_USE_H5DUMP_PACKED_BITS)
# Remove any output file left over from previous test run
diff --git a/tools/h5dump/testh5dump.sh.in b/tools/h5dump/testh5dump.sh.in
index c29297e..1d7a361 100644
--- a/tools/h5dump/testh5dump.sh.in
+++ b/tools/h5dump/testh5dump.sh.in
@@ -576,6 +576,9 @@ TOOLTEST tfpformat.ddl -m %.7f tfpformat.h5
TOOLTEST textlinksrc.ddl textlinksrc.h5
TOOLTEST textlinkfar.ddl textlinkfar.h5
+# test for dangling external links
+TOOLTEST textlink.ddl textlink.h5
+
# Report test results and exit
if test $nerrors -eq 0 ; then