From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14402 invoked from network); 26 Feb 2008 20:44:06 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Feb 2008 20:44:05 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 24663 invoked from network); 26 Feb 2008 20:44:00 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Feb 2008 20:44:00 -0000 Received: (qmail 24200 invoked by alias); 26 Feb 2008 20:43:57 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24602 Received: (qmail 24181 invoked from network); 26 Feb 2008 20:43:56 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 26 Feb 2008 20:43:56 -0000 Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by bifrost.dotsrc.org (Postfix) with ESMTP id D017D8026E0B for ; Tue, 26 Feb 2008 21:43:53 +0100 (CET) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080226204556.MTQH16169.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Tue, 26 Feb 2008 20:45:56 +0000 Received: from pws-pc.ntlworld.com ([81.107.42.63]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080226204823.IBNE26699.aamtaout03-winn.ispmail.ntl.com@pws-pc.ntlworld.com>; Tue, 26 Feb 2008 20:48:23 +0000 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.2/8.14.2) with ESMTP id m1QKg22M008022; Tue, 26 Feb 2008 20:42:02 GMT Message-Id: <200802262042.m1QKg22M008022@pws-pc.ntlworld.com> From: Peter Stephenson To: Dagobert Michelsen , zsh-workers@sunsite.dk Subject: Re: Failed tests of zsh 4.3.5 in Solaris 10 w/Sun Studio 12 CC In-Reply-To: Message from Dagobert Michelsen of "Tue, 26 Feb 2008 20:47:23 +0100." <36DDE5D8-3712-4184-9EAE-61ED914C70C2@blastwave.org> Date: Tue, 26 Feb 2008 20:42:02 +0000 X-Cloudmark-Analysis: v=1.0 c=1 a=MKh0Y3MfTFcA:10 a=3FTp5y5X6ml6ZCsPBftHHg==:17 a=NLZqzBF-AAAA:8 a=Ee2_eQ7d8hnomYFlanEA:9 a=vBklQpwTGhTo6Nu9pKOCP3FH0q0A:4 a=_dQi-Dcv4p4A:10 a=oltf0pfCdT4A:10 X-Virus-Scanned: ClamAV 0.91.2/6004/Tue Feb 26 20:08:16 2008 on bifrost X-Virus-Status: Clean 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 Web page now at http://homepage.ntlworld.com/p.w.stephenson/