Skip Menu |

This queue is for tickets about the IO-Callback CPAN distribution.

Report information
The Basics
Id: 78346
Status: resolved
Priority: 0/
Queue: IO-Callback

People
Owner: perl [...] toby.ink
Requestors: perl [...] toby.ink
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 1.08
Fixed in: (no value)



t/syswrite-params.t fails on Perl 5.16. This appears to mostly be because of some minor punctuation changes to Perl error messages. A patch is attached to fix the test case.
Subject: io-callback-error-punctuation-fix.diff
--- IO-Callback-1.08-orig/t/syswrite-params.t 2012-07-13 09:17:52.862360830 +0100 +++ IO-Callback-1.08/t/syswrite-params.t 2012-07-13 09:26:29.608362008 +0100 @@ -73,6 +73,10 @@ if ($want eq 'died' and $got =~ /^died/) { $got = 'died'; } + if ($got =~ /\.$/ and $want !~ /\.$/) { + chomp $want; + $want .= ".\n"; + } is( $got, $want, "$test_name results same as real file" ); my $want_contents = read_file $tmpfile;
I've released a development release on CPAN fixing this. Hopefully PUBNOOP will adopt the fix as an official release, or will make me a co-maintainer of the distribution so that I can release an official release.
Fixed in 1.10.