Subject: lang/perl5 from 2006Q1 fails test 443
To: None <pkgsrc-users@NetBSD.org>
From: Klaus Heinz <k.heinz.apr.sechs@onlinehome.de>
List: pkgsrc-users
Date: 04/05/2006 00:09:43
Hi,
I built lang/perl5 from the branch pkgsrc-2006Q1 in a pkg_comp sandbox on
NetBSD/i386 3.0 and saw this failure during "make test":
lib/vars..................................ok
lib/vmsish................................ok
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
t/pod/emptycmd............................ok
t/pod/find................................ok
t/pod/for.................................ok
Does this happen for anyone else?
ciao
Klaus