<?xml version="1.0" encoding="windows-1252"?>
<node id="973263" title="Re: Problem compiling Perl 5.14.2 - op/stat.t test 37 failed" created="2012-05-30 07:39:41" updated="2012-05-30 07:39:41">
<type id="11">
note</type>
<author id="888573">
Eliya</author>
<data>
<field name="doctext">
&lt;p&gt; You might want to modify the respective test to figure out what &lt;c&gt;ls&lt;/c&gt; and Perl disagree on, e.g. &lt;/p&gt;
&lt;c&gt;
    my $try = sub {  # line 287
        my @c1 = eval qq[\$DEV =~ /^$_[0].*/mg];
        my @c2 = eval qq[grep { $_[1] "/dev/\$_" } \@DEV];

        ### add this
        if ($_[1] eq "-c") {
            my @c = map { /(\S+)$/; $1 } @c1;
            my %diff;
            @diff{@c} = ();
            delete @diff{@c2};
            print "!!: $_\n" for keys %diff;
            exit;
        }
        ###
        
        my $c1 = scalar @c1;
        my $c2 = scalar @c2;
        is($c1, $c2, "ls and $_[1] agreeing on /dev ($c1 $c2)");
    };
&lt;/c&gt;
&lt;p&gt; and then contemplate on who is right with respect to whether the reported entry is a "character special" file. &lt;/p&gt;
</field>
<field name="root_node">
973257</field>
<field name="parent_node">
973257</field>
</data>
</node>
