Jonathan Worthington wrote: > publiustemp-perl6compil...@yahoo.com (via RT) wrote: >> I've been trying to update Test.pm but I'm getting bitten by intermittent >> failures in I/O tests when I run "make spectest". These usually happen in >> t/spec/S16-filehandles/io_in_for_loops.t and >> t/spec/S16-filehandles/io_in_while_loops.t. >> >> They *always* pass when I run: >> >> make t/spec/S16-filehandles/io_in_for_loops.t >> make t/spec/S16-filehandles/io_in_while_loops.t >> >> I sometimes have to run "make spectest" several times before I can reproduce >> this failure. >> >> > As another data point - I've been running the spectests a *lot* in the > last couple of weeks on Win32, and haven't seen this issue at all.
As yet another data point, I've only seen those when I ran 'make spectest' (which is run in parallel on my machine), not when I ran them individually, independently on how often. So I looked into them, and they both contained the line my $filename = 'tempfile'; and the rest is common sense and race conditions. I hope I "fixed" that in (pugs) r24996 by using different temp file names. So if nobody reports another failure with spectests r24996 or newer I'll close this ticket soon. Cheers, Moritz