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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.