summaryrefslogtreecommitdiffstats
path: root/windows/tools
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-06-02 20:17:47 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-06-02 20:17:47 (GMT)
commit4c6738388ec6d12febf0b0b434a54344d675e14f (patch)
tree3cc5586efae366084103a561e68840224adaa8f0 /windows/tools
parent1a02e37f167159e817b3230f95d0900aa82af8aa (diff)
downloadhdf5-4c6738388ec6d12febf0b0b434a54344d675e14f.zip
hdf5-4c6738388ec6d12febf0b0b434a54344d675e14f.tar.gz
hdf5-4c6738388ec6d12febf0b0b434a54344d675e14f.tar.bz2
[svn-r18947] Purpose:
Update Windows testing for h5ls according to the updates for Support follow symbolic links. Description: Sync with hdf5 trunk SVN r18943
Diffstat (limited to 'windows/tools')
-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