From d00acd5ab4b0f11e57af192a237dff0c06bcd2db Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 11 Dec 2007 15:24:46 +0000 Subject: users/12307: Expand delay in [[ -N ... ]] test to 2 seconds --- Test/C02cond.ztst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Test') diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst index 53c1350a8..3ba5209d0 100644 --- a/Test/C02cond.ztst +++ b/Test/C02cond.ztst @@ -125,9 +125,6 @@ # can't be bothered with -S - sleep 1 - cat unmodified - touch newnewnew if [[ $OSTYPE == "cygwin" ]]; then print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported on Cygwin)" true @@ -135,6 +132,10 @@ print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported with NFS)" true else + print -u $ZTST_fd 'This test takes two seconds...' + sleep 2 + cat unmodified + touch newnewnew [[ -N newnewnew && ! -N unmodified ]] fi 0:-N cond -- cgit 1.4.1