[tapx-dev] Two test failures

Andy Armstrong andy at hexten.net
Tue Jul 17 12:52:25 BST 2007


Eric Wilhelm wrote:
> # from Ovid
> # on Monday 16 July 2007 11:56 pm:
> 
>> Were any of the recent commits related to the two test failures on
>> TAP::Parser 0.52?
> 
> Apparently not.  The 5.9.5 failure seems to be some sort of 5.9.5 issue 
> 0.51 was failing t/compat/test-harness-compat.t in exactly the same 
> way.

Yup - it seems that $1 et al don't persist as long as we hoped they
would under 5.9.5. See the changes test-harness-compat for details. I
have an item on my list to attempt to work out whether it's a problem
with 5.9.5 that should be flagged - or whether it's expected behaviour
for some reason. But our test passes now.

> The 5.6.2 one appears to be a new bug relating to open '>&'
> 
> http://search.cpan.org/~rgarcia/perl-5.6.2/pod/perlopentut.pod#Re-Opening_Files_(dups)
> http://search.cpan.org/~rgarcia/perl-5.6.2/pod/perlfunc.pod#open
> 
> The only possible issue I see there is 
> 
>   "Duping file handles is not yet supported for 3-argument open()."
> 
> But we're not doing the 3-arg open and otherwise it looks mostly the 
> same as 5.8.8.  Puzzling.

We were - I fixed it. Both tests now pass.

-- 
Andy Armstrong, Hexten


More information about the tapx-dev mailing list