zsh-workers
 help / color / mirror / code / Atom feed
From: Wayne Davison <wayne@clari.net>
To: Zsh Workers <zsh-workers@sunsite.auc.dk>
Subject: PATCH: stop "make test" from sometimes failing
Date: Tue, 30 May 2000 22:13:43 -0700 (PDT)	[thread overview]
Message-ID: <Pine.GSO.4.21.0005302200050.10370-100000@house.clari.net> (raw)

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---


             reply	other threads:[~2000-05-31  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-05-31  5:13 Wayne Davison [this message]
2000-05-31  9:00 ` Peter Stephenson

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=Pine.GSO.4.21.0005302200050.10370-100000@house.clari.net \
    --to=wayne@clari.net \
    --cc=zsh-workers@sunsite.auc.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).