From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8327 invoked from network); 31 May 2000 05:14:05 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 31 May 2000 05:14:05 -0000 Received: (qmail 716 invoked by alias); 31 May 2000 05:13:47 -0000 Mailing-List: contact zsh-workers-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 11675 Received: (qmail 709 invoked from network); 31 May 2000 05:13:46 -0000 Date: Tue, 30 May 2000 22:13:43 -0700 (PDT) From: Wayne Davison To: Zsh Workers Subject: PATCH: stop "make test" from sometimes failing Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII I noticed that "make test" could sometimes fail in the 07cond.ztst file if the creation of the unmodified file happened in the same second as the "cat" of its (empty) contents. To work around this, I just added a "sleep 1" to the file, and now it always succeeds. ..wayne.. ---8<------8<------8<------8<---cut here--->8------>8------>8------>8--- Index: Test/07cond.ztst @@ -99,6 +99,7 @@ # can't be bothered with -S + sleep 1 cat unmodified touch newnewnew [[ -N newnewnew && ! -N unmodified ]] ---8<------8<------8<------8<---cut here--->8------>8------>8------>8---