1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-28 15:01:21 +02:00

23070: Fix [[ -N file ]] test failure on NFS

This commit is contained in:
Peter Stephenson 2006-12-19 12:09:46 +00:00
parent 8b800f8fd1
commit 3778f5a3ba
2 changed files with 6 additions and 0 deletions

@ -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

@ -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