zsh-workers
 help / color / mirror / code / Atom feed
From: Peter Stephenson <pws@csr.com>
To: zsh-workers@sunsite.dk
Subject: Re: Y03arguments.ztst fails
Date: Fri, 25 Apr 2003 11:42:25 +0100	[thread overview]
Message-ID: <14802.1051267345@csr.com> (raw)
In-Reply-To: "Peter Whaite"'s message of "Wed, 23 Apr 2003 11:15:13 EDT." <200304231515.h3NFFD405951@aragorn.cortexmachina.com>

I'm seeing these failures in Y03arguments.ztst too, they don't seem to
be there in 4.1.1-test-1.  I would think it's more likely to be in the
functions than the C code, since no-one dares touch the latter.

I'm also getting random failures with multios tests which I haven't seen
before.  I don't think the underlying problem is new, I think it's the
same issue as this comment:

# Following two tests have to be separated since in
#   print bar >foo >bar && print "$(<foo) $(<bar)"
# the multios aren't flushed until after the substitutions take
# place.  This can't be right.

--- separating the tests doesn't actually fix the race.  I can insert a
`sleep' but it's a bit nasty.  Unfortunately, the multios have to be
asynchronous (or we end up with something like DOS's bizarre pipe
implementation) so this is pretty fundamental.

-- 
Peter Stephenson <pws@csr.com>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
The information transmitted is intended only for the person or
entity to which it is addressed and may contain confidential 
and/or privileged material. 
Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by 
persons or entities other than the intended recipient is 
prohibited.  
If you received this in error, please contact the sender and 
delete the material from any computer.
**********************************************************************


  reply	other threads:[~2003-04-25 10:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-23 15:15 Peter Whaite
2003-04-25 10:42 ` Peter Stephenson [this message]
2003-04-26 19:27   ` Peter Stephenson
2003-04-30 19:08     ` PATCH: wait for auxiliary processes Peter Stephenson
2003-05-02 10:31       ` PATCH: tidy up for test-2 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=14802.1051267345@csr.com \
    --to=pws@csr.com \
    --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).