about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Test/C02cond.ztst3
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 30f6518f8..3b00e8644 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-12-19  Peter Stephenson  <pws@csr.com>
 
+	* 23070: Test/C02cond.ztst: Skip [[ -N file ]] test on NFS
+	file systems.
+
 	* 23067: Doc/Zsh/builtins.yo, Src/jobs.c, Src/signals.c:
 	queue traps but handle signals when waiting for jobs or processes,
 	unless TRAPSASYNC is set or the wait builtin is in use, so as
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