about summary refs log tree commit diff
path: root/Test/C02cond.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2006-12-19 12:09:46 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2006-12-19 12:09:46 +0000
commit3778f5a3ba05b542109bbaef6b7de94f145e47cc (patch)
tree5305303b760eff982752a82bc35982c893fc6d4f /Test/C02cond.ztst
parent8b800f8fd193ff408ea92a9ea3eb6584a5ec0e9b (diff)
downloadzsh-3778f5a3ba05b542109bbaef6b7de94f145e47cc.tar.gz
zsh-3778f5a3ba05b542109bbaef6b7de94f145e47cc.tar.xz
zsh-3778f5a3ba05b542109bbaef6b7de94f145e47cc.zip
23070: Fix [[ -N file ]] test failure on NFS
Diffstat (limited to 'Test/C02cond.ztst')
-rw-r--r--Test/C02cond.ztst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index 3104a8680..2d6ca6754 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -131,6 +131,9 @@
   if [[ $OSTYPE == "cygwin" ]]; then
     print -u8 "Warning: not testing [[ -N file ]] (not supported on Cygwin)"
     true
+  elif [[ "$(find . -prune -fstype nfs 2>/dev/null)" == "." ]]; then
+    print -u8 "Warning: not testing [[ -N file ]] (not supported with NFS)"
+    true
   else
     [[ -N newnewnew && ! -N unmodified ]]
   fi