summaryrefslogtreecommitdiffstats
path: root/windows
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-06-02 20:21:30 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-06-02 20:21:30 (GMT)
commite72723aa7ff308b2401ef8f2a49f8af8833f3cdb (patch)
tree185f170d34aeb7ffe5a6df45c87cbd577edc82c8 /windows
parent3aa2b25b99d4063e9958c92d350974a3972fdd6e (diff)
downloadhdf5-e72723aa7ff308b2401ef8f2a49f8af8833f3cdb.zip
hdf5-e72723aa7ff308b2401ef8f2a49f8af8833f3cdb.tar.gz
hdf5-e72723aa7ff308b2401ef8f2a49f8af8833f3cdb.tar.bz2
[svn-r18948] Purpose:
Update Windows testing for h5ls according to the updates for Support follow symbolic links. Description: Sync with hdf5 1.8 branch SVN r18946
Diffstat (limited to 'windows')
-rw-r--r--windows/tools/h5ls/testh5ls.bat28
1 files changed, 22 insertions, 6 deletions
diff --git a/windows/tools/h5ls/testh5ls.bat b/windows/tools/h5ls/testh5ls.bat
index 90321e5..7fa931b 100644
--- a/windows/tools/h5ls/testh5ls.bat
+++ b/windows/tools/h5ls/testh5ls.bat
@@ -172,17 +172,33 @@ rem ############################################################################
rem test for displaying soft links
call :tooltest tslink-1.ls 0 -w80 -r tslink.h5
- rem test for displaying external and user-defined links
+ rem test for displaying more soft links with --follow-symlinks
+ call :tooltest tsoftlinks-1.ls 0 --follow-symlinks tsoftlinks.h5
+ call :tooltest tsoftlinks-2.ls 0 --follow-symlinks -r tsoftlinks.h5
+ call :tooltest tsoftlinks-3.ls 0 --follow-symlinks tsoftlinks.h5/group1
+ call :tooltest tsoftlinks-4.ls 0 --follow-symlinks -r tsoftlinks.h5/group1
+ call :tooltest tsoftlinks-5.ls 0 --follow-symlinks tsoftlinks.h5/soft_dset1
+
+ rem test for displaying external and user-defined links with
+ rem --follow-symlinks
call :tooltest textlink-1.ls 0 -w80 -r textlink.h5
- call :tooltest textlinksrc-1.ls 0 -w80 -Er textlinksrc.h5
- call :tooltest textlinksrc-2.ls 0 -w80 -Erv textlinksrc.h5/ext_link5
- call :tooltest textlinksrc-3.ls 0 -w80 -Er textlinksrc.h5/ext_link1
+ call :tooltest textlinksrc-1.ls 0 -w80 --follow-symlinks -r textlinksrc.h5
+ call :tooltest textlinksrc-2.ls 0 -w80 --follow-symlinks -rv textlinksrc.h5/ext_link5
+ call :tooltest textlinksrc-3.ls 0 -w80 --follow-symlinks -r textlinksrc.h5/ext_link1
call :tooltest textlinksrc-4.ls 0 -w80 -r textlinksrc.h5
call :tooltest textlinksrc-5.ls 0 -w80 -r textlinksrc.h5/ext_link1
- call :tooltest textlinksrc-6.ls 0 -w80 -E textlinksrc.h5
- call :tooltest textlinksrc-7.ls 0 -w80 -E textlinksrc.h5/ext_link1
+ call :tooltest textlinksrc-6.ls 0 -w80 --follow-symlinks textlinksrc.h5
+ call :tooltest textlinksrc-7.ls 0 -w80 --follow-symlinks textlinksrc.h5/ext_link1
call :tooltest tudlink-1.ls 0 -w80 -r tudlink.h5
+ rem test for displaying external links with -E
+ rem the option -E will be depriciated but keep it for backward compatibility
+ call :tooltest textlinksrc-1-old.ls 0 -w80 -Er textlinksrc.h5
+ call :tooltest textlinksrc-2-old.ls 0 -w80 -Erv textlinksrc.h5/ext_link5
+ call :tooltest textlinksrc-3-old.ls 0 -w80 -Er textlinksrc.h5/ext_link1
+ call :tooltest textlinksrc-6-old.ls 0 -w80 -E textlinksrc.h5
+ call :tooltest textlinksrc-7-old.ls 0 -w80 -E textlinksrc.h5/ext_link1
+
rem tests for hard links
call :tooltest thlink-1.ls 0 -w80 thlink.h5