Please help me with testing the compilation of Perl. I am compiling on ARMv6 Raspberry Pi on Arch Linux ARM. Compilation is OK. But then at the end of several hours harness testing there is FAIL.
reproducing the fail command in the src directory:
./perl -MTestInit t/op/stat.t
failed test 37:
not ok 37 - ls and -c agreeing on /dev (223 222) # Failed at t/op/stat.t line 292 # got "223" # expected "222"
Hey! THX i found it :D It problem in Czech localized output from this command:
ls -l /dev 2>/dev/null
Output
[tom@alarmpi perl-5.14.2]$ ls -l /dev 2>/dev/null celkem 0 crw------- 1 root root 10, 235 1. led 1970 autofs drwxr-xr-x 2 root root 620 30. kvě 09.59 block drwxr-xr-x 2 root root 60 30. kvě 09.59 bsg
The first line is "celkem" that means total in english and begins with c. So, please correct it and remove the first line from the test and post a patch please :)
I think it could be good to supply some patch like this, which works for OK:
+++ t/op/stat.t 2012-05-30 15:24:01.182106112 +0200 @@ -250,7 +250,7 @@ if $Is_VMS; my $LS = $Config{d_readlink} ? "ls -lL" : "ls -l"; - my $CMD = "$LS /dev 2>/dev/null"; + my $CMD = "$LS /dev 2>/dev/null | tail -n +2"; my $DEV = qx($CMD); skip "$CMD failed", 6 if $DEV eq '';
In reply to Problem compiling Perl 5.14.2 - op/stat.t test 37 failed by mrthom
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |