GNU bug report logs - #8909
tests/ls/stat-free-color: fails on OpenSuSE 11.4

Previous Next

Package: coreutils;

Reported by: Bernhard Voelker <mail <at> bernhard-voelker.de>

Date: Tue, 21 Jun 2011 09:01:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


Message #17 received at 8909 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Jim Meyering <jim <at> meyering.net>
Cc: 8909 <at> debbugs.gnu.org
Subject: Re: bug#8909: tests/ls/stat-free-color: fails on OpenSuSE 11.4
Date: Tue, 21 Jun 2011 16:51:35 +0200
[Message part 1 (text/plain, inline)]
On 06/21/2011 04:16 PM, Jim Meyering wrote:
> Bernhard Voelker wrote:
>> On 06/21/2011 03:41 PM, Jim Meyering wrote:
>>> It might be useful to see the entire strace output, too.
>>> To get that, remove the "-e stat,lstat,stat64,lstat64" argument
>>> from the strace invocation, and rerun the test.
>>
>> The output of both runs is attached.
>> stat("/usr/lib64/mpi/gcc/openmpi/lib64") and friends is the culprit.
>
> Thanks.
>
>> I can't remember to have anything un-OpenSuSE-11.4-like in my toolchain.
>>
>> To me it seems that the test should count the difference of the
>> number of stat,lstat,stat64,lstat64 calls when run
>>    a) as a dummy:  ls --color=always --help
>> and
>>    b) for ".":     ls --color=always .
>
> That would be more robust.
> Do you feel like writing the patch?

Attached try #1 and the log.

I'm not sure about x-platform calculation, but I guess
  n_lines=$(expr $n_lines - $n_lines_help)
is okay - actually I saw it somewhere else in tests/.

Have a nice day,
Berny
[ls.stat-free-color.diff (text/x-patch, attachment)]
[stat-free-color.log (text/x-log, attachment)]

This bug report was last modified 13 years and 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.