summaryrefslogtreecommitdiff
path: root/Test/C02cond.ztst
diff options
context:
space:
mode:
authorJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-05-08 12:53:37 +0900
committerJun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>2023-05-08 12:53:37 +0900
commit7f2bdf55a3fc09f7615f84119c135458c3e75a74 (patch)
tree7e51a44a7dc028b7d0c5cc9c5d212c057e62d6ed /Test/C02cond.ztst
parent858b8de3d70fe76a3637c281bc2c8e3a6d961a2c (diff)
downloadzsh-7f2bdf55a3fc09f7615f84119c135458c3e75a74.tar.gz
zsh-7f2bdf55a3fc09f7615f84119c135458c3e75a74.zip
51692: not skip tests for [[ -r/-N file ]] on Cygwin
Diffstat (limited to 'Test/C02cond.ztst')
-rw-r--r--Test/C02cond.ztst8
1 files changed, 1 insertions, 7 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 4366b4142..daea5b4f8 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -111,10 +111,6 @@
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
@@ -148,9 +144,7 @@
print -ru $ZTST_fd 'This test may take two seconds...'
touch $newnewnew
- if [[ $OSTYPE == "cygwin" ]]; then
- ZTST_skip="[[ -N file ]] not supported on Cygwin"
- elif (( isnfs )); then
+ if (( isnfs )); then
ZTST_skip="[[ -N file ]] not supported with NFS"
elif ! zmodload -F zsh/stat b:zstat 2> /dev/null; then
ZTST_skip='[[ -N file ]] not tested; zsh/stat not available'