about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2020-02-27 16:08:13 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2020-02-27 16:08:13 +0900
commitfe516fccb4754833f850cb62f6607226370bbf53 (patch)
treece8da8f89bd551374a2d2975661f2d869cf0f2a2 /Test
parentf7c6a0008b105c945ba3935d7ecb8c87fe0cd0e5 (diff)
downloadzsh-fe516fccb4754833f850cb62f6607226370bbf53.tar.gz
zsh-fe516fccb4754833f850cb62f6607226370bbf53.tar.xz
zsh-fe516fccb4754833f850cb62f6607226370bbf53.zip
45492: skip test added by users/24633 on Cygwin
Diffstat (limited to 'Test')
-rw-r--r--Test/D02glob.ztst14
1 files changed, 9 insertions, 5 deletions
diff --git a/Test/D02glob.ztst b/Test/D02glob.ztst
index b0650c8c8..973dc2207 100644
--- a/Test/D02glob.ztst
+++ b/Test/D02glob.ztst
@@ -729,11 +729,15 @@
 >not/exist
 >exist
 
- mkdir -m 000 glob.tmp/secret-d000
- mkdir -m 111 glob.tmp/secret-d111
- mkdir -m 444 glob.tmp/secret-d444
- for 1 in 000 111 444 ; do ln -s secret-d$1 glob.tmp/secret-s$1; done
- print -rC 2 -- glob.tmp/secret-*/ glob.tmp/secret-*(-/)
+ if [[ $OSTYPE = cygwin* ]]; then
+   ZTST_skip='Cygwin ignores search permission of directories'
+ else
+   mkdir -m 000 glob.tmp/secret-d000
+   mkdir -m 111 glob.tmp/secret-d111
+   mkdir -m 444 glob.tmp/secret-d444
+   for 1 in 000 111 444 ; do ln -s secret-d$1 glob.tmp/secret-s$1; done
+   print -rC 2 -- glob.tmp/secret-*/ glob.tmp/secret-*(-/)
+ fi
 -f:unreadable directories can be globbed (users/24619, users/24626)
 >glob.tmp/secret-d000/  glob.tmp/secret-d000
 >glob.tmp/secret-d111/  glob.tmp/secret-d111