Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Y03arguments.ztst fails

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@xxxxxxx>                  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 
If you received this in error, please contact the sender and 
delete the material from any computer.

Messages sorted by: Reverse Date, Date, Thread, Author