Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Failed tests of zsh 4.3.5 in Solaris 10 w/Sun Studio 12 CC
- X-seq: zsh-workers 24602
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Dagobert Michelsen <dam@xxxxxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Subject: Re: Failed tests of zsh 4.3.5 in Solaris 10 w/Sun Studio 12 CC
- Date: Tue, 26 Feb 2008 20:42:02 +0000
- In-reply-to: Message from Dagobert Michelsen <dam@xxxxxxxxxxxxx> of "Tue, 26 Feb 2008 20:47:23 +0100." <36DDE5D8-3712-4184-9EAE-61ED914C70C2@xxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Dagobert Michelsen wrote:
> If this is on NFS (which it is in my build environment) the
> file 'newnewnew' is not generated and the following tests fail
> instead of being skipped on NFS.
I can see how that might be problematic. Here's the simple way out.
Index: Test/C02cond.ztst
===================================================================
RCS file: /cvsroot/zsh/zsh/Test/C02cond.ztst,v
retrieving revision 1.21
diff -u -r1.21 C02cond.ztst
--- Test/C02cond.ztst 10 Jan 2008 18:53:50 -0000 1.21
+++ Test/C02cond.ztst 26 Feb 2008 20:42:20 -0000
@@ -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
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author