From: Peter Stephenson <p.w.stephenson@ntlworld.com>
To: Dagobert Michelsen <dam@blastwave.org>, zsh-workers@sunsite.dk
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 [thread overview]
Message-ID: <200802262042.m1QKg22M008022@pws-pc.ntlworld.com> (raw)
In-Reply-To: Message from Dagobert Michelsen <dam@blastwave.org> of "Tue, 26 Feb 2008 20:47:23 +0100." <36DDE5D8-3712-4184-9EAE-61ED914C70C2@blastwave.org>
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@ntlworld.com>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
prev parent reply other threads:[~2008-02-26 20:44 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-26 13:18 Dagobert Michelsen
2008-02-26 14:14 ` Peter Stephenson
2008-02-26 14:42 ` Dagobert Michelsen
2008-02-26 14:57 ` Peter Stephenson
2008-02-26 15:18 ` Dagobert Michelsen
2008-02-26 16:10 ` * " Peter Stephenson
2008-02-26 17:37 ` Oliver Kiddle
2008-02-27 11:29 ` Peter Stephenson
2008-02-27 16:16 ` Bart Schaefer
2008-02-29 9:53 ` Oliver Kiddle
2008-03-03 12:08 ` Peter Stephenson
2008-03-03 12:43 ` Dagobert Michelsen
2008-03-03 12:59 ` Peter Stephenson
2008-02-26 18:08 ` Peter Stephenson
2008-02-26 18:12 ` İsmail Dönmez
2008-02-26 19:19 ` Dagobert Michelsen
2008-02-26 19:47 ` Dagobert Michelsen
2008-02-26 20:42 ` Peter Stephenson [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200802262042.m1QKg22M008022@pws-pc.ntlworld.com \
--to=p.w.stephenson@ntlworld.com \
--cc=dam@blastwave.org \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).