diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-04-21 23:54:22 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-04-21 23:54:22 (GMT) |
commit | 375dda3d58f49ef52148aa41aa6d5d6332528874 (patch) | |
tree | e370cbc618328471d15c0f2b84479cdda736c2a2 /tools/testfiles/textlinksrc.ddl | |
parent | b120aff5cf29a9ab0d01594db44ee1f592f08c9e (diff) | |
download | hdf5-375dda3d58f49ef52148aa41aa6d5d6332528874.zip hdf5-375dda3d58f49ef52148aa41aa6d5d6332528874.tar.gz hdf5-375dda3d58f49ef52148aa41aa6d5d6332528874.tar.bz2 |
[svn-r20595] Purpose:
HDFFV-5948 - CHICAGO: Tools - implement missing external link test cases
Description:
Add three test cases for h5dump and h5ls.
- h5ls: external link to soft link with follow symlink.
- h5dump: external link to soft link with follow symlink.
- h5ls: external link to soft link without follow symlink.
Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE)
Diffstat (limited to 'tools/testfiles/textlinksrc.ddl')
-rw-r--r-- | tools/testfiles/textlinksrc.ddl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/testfiles/textlinksrc.ddl b/tools/testfiles/textlinksrc.ddl index b806c56..d41bb6d 100644 --- a/tools/testfiles/textlinksrc.ddl +++ b/tools/testfiles/textlinksrc.ddl @@ -3,6 +3,24 @@ Expected output for 'h5dump textlinksrc.h5' ############################# HDF5 "textlinksrc.h5" { GROUP "/" { + EXTERNAL_LINK "ext2soft_link1" { + TARGETFILE "tsoftlinks.h5" + TARGETPATH "/soft_dset1" + DATASET "/soft_dset1" { + DATATYPE H5T_STD_I32BE + DATASPACE SIMPLE { ( 4, 2 ) / ( 4, 2 ) } + DATA { + (0,0): 0, 0, + (1,0): 1, 1, + (2,0): 2, 2, + (3,0): 3, 3 + } + } + } + EXTERNAL_LINK "ext2softdangle_link1" { + TARGETFILE "tsoftlinks.h5" + TARGETPATH "/soft_dangle" + } EXTERNAL_LINK "ext_link1" { TARGETFILE "textlinktar.h5" TARGETPATH "group" |