about summary refs log tree commit diff
path: root/Test
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-11-26 10:50:07 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-11-26 10:50:07 +0000
commitbaa1145609a2dd94cddaf9220e0b0f2ec85371ac (patch)
treed29d2365340adcee9fb19af47d927d02e3dc14a7 /Test
parentbda2edb4c5e61251d592dbc591964a8f8bd00bbe (diff)
downloadzsh-baa1145609a2dd94cddaf9220e0b0f2ec85371ac.tar.gz
zsh-baa1145609a2dd94cddaf9220e0b0f2ec85371ac.tar.xz
zsh-baa1145609a2dd94cddaf9220e0b0f2ec85371ac.zip
26090: another cond test for Cygwin needs removing
Diffstat (limited to 'Test')
-rw-r--r--Test/C02cond.ztst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 5df2ed82f..de82dcbe2 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -94,6 +94,10 @@
   if (( EUID == 0 )); then
     print -u$ZTST_fd 'Warning: Not testing [[ ! -r file ]] (root reads anything)'
     [[ -r zerolength && -r unmodish ]]
+  elif [[ $OSTYPE = cygwin ]]; then
+    print -u$ZTST_fd 'Warning: Not testing [[ ! -r file ]]
+   (all files created by user may be readable)'
+   [[ -r zerolength ]]
   else
     [[ -r zerolength && ! -r unmodish ]]
   fi