summaryrefslogtreecommitdiffstats
path: root/Test
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
parentanother fatfinger: change comparison to asignment (diff)
downloadzsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.gz
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.bz2
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.lz
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.xz
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.tar.zst
zsh-e21bd541a286cd3946a3951e3dad88a0ef46d530.zip
24600: yet another typo
24602: fix test when not run
Diffstat (limited to 'Test')
-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