On 2002.05.12 08:23 chromatic wrote:
> On Sat, 11 May 2002 20:09:56 -0700, Paul Green wrote:
>
> > Sure enough, it appears that the STDERR output is written first, before the
> > STDOUT output. I suspect we got the STDERR output line caught up in a buffer
> > somewhere. I suspect an OS issue lurking around. But I'm too tired to pursue
> > it further tonight.
>
> If it's a test bug (and relying on one filehandle to flush before the other
> wasn't my best idea), maybe autoflushing STDOUT will help. Here's a patch
> against the test.
If this doesn't work, I suggest to stop relying on the order of output.
I.e. replace tests that have the form
is( $lines[N], ... )
by
like( "@lines", qr/.../ )
> This may help VMS too.