Subject: test failure for perl-5.8.7nb8 on OS X 10.3.9
To: None <tech-pkg@netbsd.org>
From: Mark E. Perkins <perkinsm@bway.net>
List: tech-pkg
Date: 01/15/2006 13:17:12
I just rebuilt lang/perl5 (from pkgsrc HEAD updated this morning). The
build goes without a hitch, but I get one failure when I 'bmake test'
(output included below). It looks to me as if the test results might
actually be OK, but that they are output in an unexpected order.

Can anyone shed some light on this? I'm having trouble finding my way
through the twisty maze of perl test code to see where this is actually
coming from.

Thanks,
Mark

--------------------------------------------------------
lib/warnings..............................PROG:
# sv.c
use warnings 'printf' ;
open F, ">".($^O eq 'VMS'? 'NL:' : '/dev/null') ;
printf F "%z\n" ;
my $a = sprintf "%z" ;
printf F "%" ;
$a = sprintf "%" ;
printf F "%\x02" ;
$a = sprintf "%\x02" ;
no warnings 'printf' ;
printf F "%z\n" ;
$a = sprintf "%z" ;
printf F "%" ;
$a = sprintf "%" ;
printf F "%\x02" ;
$a = sprintf "%\x02" ;
EXPECTED:
Invalid conversion in sprintf: "%z" at - line 5.
Invalid conversion in sprintf: end of string at - line 7.
Invalid conversion in sprintf: "%\002" at - line 9.
Invalid conversion in printf: "%z" at - line 4.
Invalid conversion in printf: end of string at - line 6.
Invalid conversion in printf: "%\002" at - line 8.
GOT:
Invalid conversion in printf: "%z" at - line 4.
Invalid conversion in sprintf: "%z" at - line 5.
Invalid conversion in printf: end of string at - line 6.
Invalid conversion in sprintf: end of string at - line 7.
Invalid conversion in printf: "%\002" at - line 8.
Invalid conversion in sprintf: "%\002" at - line 9.
# Failed at ../lib/warnings.t line 186
FAILED at test 443