From 3778f5a3ba05b542109bbaef6b7de94f145e47cc Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 19 Dec 2006 12:09:46 +0000 Subject: 23070: Fix [[ -N file ]] test failure on NFS --- Test/C02cond.ztst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Test') 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 -- cgit 1.4.1