about summary refs log tree commit diff
path: root/Test/C02cond.ztst
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-02-26 20:50:11 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-02-26 20:50:11 +0000
commite21bd541a286cd3946a3951e3dad88a0ef46d530 (patch)
treeef81dac8f331bee546a710856a7c9d6acdc92657 /Test/C02cond.ztst
parent3934b6d62123e0b1a310fbc478ce45a1913f76fc (diff)
downloadzsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.gz
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.xz
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.zip
24600: yet another typo
24602: fix test when not run
Diffstat (limited to 'Test/C02cond.ztst')
-rw-r--r--Test/C02cond.ztst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Test/C02cond.ztst b/Test/C02cond.ztst
index ff5afeb08..5df2ed82f 100644
--- a/Test/C02cond.ztst
+++ b/Test/C02cond.ztst
@@ -125,6 +125,10 @@
 
 # can't be bothered with -S
 
+  print -u $ZTST_fd 'This test takes two seconds...'
+  sleep 2
+  cat unmodified
+  touch newnewnew
   if [[ $OSTYPE == "cygwin" ]]; then
     print -u$ZTST_fd "Warning: not testing [[ -N file ]] (not supported on Cygwin)"
     true
@@ -132,10 +136,6 @@
     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