zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: stop "make test" from sometimes failing
@ 2000-05-31  5:13 Wayne Davison
  2000-05-31  9:00 ` Peter Stephenson
  0 siblings, 1 reply; 2+ messages in thread
From: Wayne Davison @ 2000-05-31  5:13 UTC (permalink / raw)
  To: Zsh Workers

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-31  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-31  5:13 PATCH: stop "make test" from sometimes failing Wayne Davison
2000-05-31  9:00 ` Peter Stephenson

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