GNU bug report logs - #16075
ls/stat-free-color.sh fails on AArch64 architecture

Previous Next

Package: coreutils;

Reported by: Marcin Juszkiewicz <mjuszkiewicz <at> redhat.com>

Date: Fri, 6 Dec 2013 16:25:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


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

From: Pádraig Brady <P <at> draigBrady.com>
To: Marcin Juszkiewicz <mjuszkiewicz <at> redhat.com>
Cc: Bernhard Voelker <mail <at> bernhard-voelker.de>, 16075 <at> debbugs.gnu.org
Subject: Re: bug#16075: ls/stat-free-color.sh fails on AArch64 architecture
Date: Fri, 06 Dec 2013 21:07:43 +0000
On 12/06/2013 06:40 PM, Marcin Juszkiewicz wrote:
> W dniu 06.12.2013 18:20, Pádraig Brady pisze:
> 
>> Also Marcin, could you try out the latest snapshot (which will
>> also need the patch applied). It has another aarch64 specific patch included,
>> and it would be great to verify it on this platform.
>> Two birds with one stone and all that. Simple test instructions at:
>> http://lists.gnu.org/archive/html/coreutils/2013-12/msg00062.html
>>
>> diff --git a/tests/ls/stat-free-color.sh b/tests/ls/stat-free-color.sh
>> index 3aacf96..4dd7ae7 100755
>> --- a/tests/ls/stat-free-color.sh
>> +++ b/tests/ls/stat-free-color.sh
>> @@ -53,11 +53,11 @@ eval $(dircolors -b color-without-stat)
>>  # To avoid counting those, first get a baseline count by running
>>  # ls with only the --help option.  Then, compare that with the
>>  # invocation under test.
>> -strace -o log-help -e stat,lstat,stat64,lstat64 ls --help >/dev/null || fail=1
>> -n_lines_help=$(wc -l < log-help)
>> +strace -o log-help ls --help >/dev/null || fail=1
>> +n_lines_help=$(grep 'stat.*(' log-help | wc -l)
>>
>> -strace -o log -e stat,lstat,stat64,lstat64 ls --color=always . || fail=1
>> -n_lines=$(wc -l < log)
>> +strace -o log ls --color=always . || fail=1
>> +n_lines=$(grep 'stat.*(' log | wc -l)
>>
>>  n_stat=$(expr $n_lines - $n_lines_help)
> 

> 19:34 hrw <at> chroot-rawhide:coreutils-8.21.176-37e00$ patch <update.diff -p1
> patching file tests/ls/stat-free-color.sh
> 19:34 hrw <at> chroot-rawhide:coreutils-8.21.176-37e00$ make check -C tests TESTS=ls/stat-free-color VERBOSE=yes
> make: Wejście do katalogu `/home/hrw/test/coreutils-8.21.176-37e00/tests'
> cd .. && make check TESTS=tests/ls/stat-free-color SUBDIRS=.
> make[1]: Wejście do katalogu `/home/hrw/test/coreutils-8.21.176-37e00'
>   GEN      public-submodule-commit

> ============================================================================
> Testsuite summary for GNU coreutils 8.21.176-37e00
> ============================================================================
> # TOTAL: 1
> # PASS:  1

> All tests pass with this patch:

Much appreciated for testing that new important architecture.

> ============================================================================
> Testsuite summary for GNU coreutils 8.21.176-37e00
> ============================================================================
> # TOTAL: 316
> # PASS:  304
> # SKIP:  12
> # XFAIL: 0
> # FAIL:  0
> # XPASS: 0
> # ERROR: 0
> ============================================================================

Note there are two test result outputs for coreutils and for gnulib.
The above totals are for the gnulib component.
I presume all the coreutils tests passed also as the test you
noticed failing was within the coreutils set.

thanks!
Pádraig.




This bug report was last modified 11 years and 218 days ago.

Previous Next


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