From unknown Fri Jun 20 07:13:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8728 <8728@debbugs.gnu.org> To: bug#8728 <8728@debbugs.gnu.org> Subject: Status: test 'stat-free-color' failed (latest git version v8.12-42-g7d44751) Reply-To: bug#8728 <8728@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:13:10 +0000 retitle 8728 test 'stat-free-color' failed (latest git version v8.12-42-g7d= 44751) reassign 8728 coreutils submitter 8728 Stefano Lattarini severity 8728 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 16:10:13 2011 Received: (at submit) by debbugs.gnu.org; 24 May 2011 20:10:13 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOxvg-0003cf-JF for submit@debbugs.gnu.org; Tue, 24 May 2011 16:10:12 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOxvd-0003cS-Bq for submit@debbugs.gnu.org; Tue, 24 May 2011 16:10:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOxvW-0002kd-L5 for submit@debbugs.gnu.org; Tue, 24 May 2011 16:10:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, RFC_ABUSE_POST, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:54762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxvW-0002kZ-Iu for submit@debbugs.gnu.org; Tue, 24 May 2011 16:10:02 -0400 Received: from eggs.gnu.org ([140.186.70.92]:44765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxvU-0004dE-KO for bug-coreutils@gnu.org; Tue, 24 May 2011 16:10:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOxvT-0002jS-Fj for bug-coreutils@gnu.org; Tue, 24 May 2011 16:10:00 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:54334) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxvT-0002jG-8n for bug-coreutils@gnu.org; Tue, 24 May 2011 16:09:59 -0400 Received: by wyf19 with SMTP id 19so6505782wyf.0 for ; Tue, 24 May 2011 13:09:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:mime-version :content-type:message-id; bh=ZfH2R3NxDkb2wrKHKpAW7HWhG+u7VacfycvqtS7o2N0=; b=hS9nIeu4Zt0qKG280xdUy6eKBbKz4Xy12w5g1fNCNa8koNRfuDkhqdENeVQkzt95wT q3Qn5UgH4B3Mlxbll411buPpgA8xg0WGwYLa3Rz07/BiAwm5NTtXUYTLVUs8wBWskMku SHaMTIPoh4lZ1pQP3sydOS53+mS0cWWF77drU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :message-id; b=KW8TkNY5Ij/fAbeV+atpFgKtLhPf77ftwVCyTSekuyH3GTctqcrJUrqoHRgs6vSIXy 6UKGuicrbh7PfFd8u2csswXrkR111uduTAm9xeZKySHg5z87L7fdhpGCkwPbLo3I8gMe IneshWJKIV5virpYu/E2eSigvnuxarwQ+wS5I= Received: by 10.227.19.132 with SMTP id a4mr3748214wbb.100.1306267798462; Tue, 24 May 2011 13:09:58 -0700 (PDT) Received: from bigio.localnet (host250-99-dynamic.5-87-r.retail.telecomitalia.it [87.5.99.250]) by mx.google.com with ESMTPS id w12sm5002255wby.24.2011.05.24.13.09.56 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2011 13:09:57 -0700 (PDT) From: Stefano Lattarini To: bug-coreutils@gnu.org Subject: test 'stat-free-color' failed (latest git version v8.12-42-g7d44751) Date: Tue, 24 May 2011 22:09:43 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_ICB3NWKVW5lvP5H" Message-Id: <201105242209.44263.stefano.lattarini@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) --Boundary-00=_ICB3NWKVW5lvP5H Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit The log of the failed test is attached. I've not looked into it in any way. Let me know if you need more information. Regards, Stefano --Boundary-00=_ICB3NWKVW5lvP5H Content-Type: text/x-log; charset="utf-8"; name="stat-free-color.log" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="stat-free-color.log" FAIL: ls/stat-free-color (exit: 1) ================================== ++ initial_cwd_=/home/stefano/src/coreutils/_build_bleeding/tests ++ fail=0 +++ testdir_prefix_ +++ printf gt ++ pfx_=gt +++ mktempd_ /home/stefano/src/coreutils/_build_bleeding/tests gt-stat-free-color.XXXX +++ case $# in +++ destdir_=/home/stefano/src/coreutils/_build_bleeding/tests +++ template_=gt-stat-free-color.XXXX +++ MAX_TRIES_=4 +++ case $destdir_ in +++ case $template_ in ++++ unset TMPDIR ++++ mktemp -d -t -p /home/stefano/src/coreutils/_build_bleeding/tests gt-stat-free-color.XXXX +++ d=/home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or +++ case $d in +++ test -d /home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or ++++ ls -dgo /home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or ++++ tr S - +++ perms='drwx------ 2 4096 May 24 21:58 /home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or' +++ case $perms in +++ test 0 = 0 +++ echo /home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or +++ return ++ test_dir_=/home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or ++ cd /home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or ++ gl_init_sh_nl_=' ' ++ IFS=' ' ++ for sig_ in 1 2 3 13 15 +++ expr 1 + 128 ++ eval 'trap '\''Exit 129'\'' 1' +++ trap 'Exit 129' 1 ++ for sig_ in 1 2 3 13 15 +++ expr 2 + 128 ++ eval 'trap '\''Exit 130'\'' 2' +++ trap 'Exit 130' 2 ++ for sig_ in 1 2 3 13 15 +++ expr 3 + 128 ++ eval 'trap '\''Exit 131'\'' 3' +++ trap 'Exit 131' 3 ++ for sig_ in 1 2 3 13 15 +++ expr 13 + 128 ++ eval 'trap '\''Exit 141'\'' 13' +++ trap 'Exit 141' 13 ++ for sig_ in 1 2 3 13 15 +++ expr 15 + 128 ++ eval 'trap '\''Exit 143'\'' 15' +++ trap 'Exit 143' 15 ++ trap remove_tmp_ 0 + path_prepend_ ../src + test 1 '!=' 0 + path_dir_=../src + case $path_dir_ in ++ cd /home/stefano/src/coreutils/_build_bleeding/tests/../src ++ echo /home/stefano/src/coreutils/_build_bleeding/src + abs_path_dir_=/home/stefano/src/coreutils/_build_bleeding/src + case $abs_path_dir_ in + PATH=/home/stefano/src/coreutils/_build_bleeding/src:/home/stefano/src/coreutils/_build_bleeding/src:/home/stefano/go/bin:/home/stefano/bin/linux:/home/stefano/bin:/usr/local/bin:/opt/bin:/usr/lib/jvm/java-6-sun-1.6.0.20/bin:/usr/games:/usr/bin:/usr/sbin:/bin:/sbin + create_exe_shims_ /home/stefano/src/coreutils/_build_bleeding/src + case $EXEEXT in + return 0 + shift + test 0 '!=' 0 + export PATH + print_ver_ ls + test yes = yes + local i + for i in '$*' + env ls --version ls (GNU coreutils) 8.12.42-7d447 Packaged by Bleeding Edge Support (v8.12-42-g7d44751) Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. + require_strace_ stat + test 1 = 1 + strace -V + strace -qe stat echo + require_dirent_d_type_ + python + python /home/stefano/src/coreutils/_build_bleeding/../tests/d_type-check + ln -s nowhere dangle + cat ++ dircolors -b color-without-stat + eval 'LS_COLORS='\''rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=00:su=00:sg=00:ca=00:tw=00:ow=00:st=00:ex=00:mh=00:'\'';' export LS_COLORS ++ LS_COLORS='rs=0:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=00:su=00:sg=00:ca=00:tw=00:ow=00:st=00:ex=00:mh=00:' ++ export LS_COLORS + strace -o log -e stat,lstat ls --color=always . color-without-stat dangle log ++ wc -l + n_lines=0 + test 0 = 1 + fail=1 + Exit 1 + set +e + exit 1 + exit 1 + remove_tmp_ + __st=1 + cleanup_ + : + cd /home/stefano/src/coreutils/_build_bleeding/tests + chmod -R u+rwx /home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or + rm -rf /home/stefano/src/coreutils/_build_bleeding/tests/gt-stat-free-color.r7or + exit 1 --Boundary-00=_ICB3NWKVW5lvP5H-- From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 17:10:50 2011 Received: (at 8728) by debbugs.gnu.org; 24 May 2011 21:10:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOysM-000513-6Y for submit@debbugs.gnu.org; Tue, 24 May 2011 17:10:50 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOysJ-00050n-Sj for 8728@debbugs.gnu.org; Tue, 24 May 2011 17:10:48 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id 23BBA60132; Tue, 24 May 2011 23:10:41 +0200 (CEST) From: Jim Meyering To: Stefano Lattarini Subject: Re: bug#8728: test 'stat-free-color' failed (latest git version v8.12-42-g7d44751) In-Reply-To: <201105242209.44263.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Tue, 24 May 2011 22:09:43 +0200") References: <201105242209.44263.stefano.lattarini@gmail.com> Date: Tue, 24 May 2011 23:10:41 +0200 Message-ID: <87wrhfere6.fsf@rho.meyering.net> Lines: 58 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8728 Cc: 8728@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Stefano Lattarini wrote: > The log of the failed test is attached. I've not looked into it in any way. > Let me know if you need more information. > > Regards, > Stefano > > FAIL: ls/stat-free-color (exit: 1) > ================================== ... > + strace -o log -e stat,lstat ls --color=always . > color-without-stat ... > ++ wc -l > + n_lines=0 > + test 0 = 1 > + fail=1 Hi Stefano, Thanks for the report. It would help to know why strace reported no matches. Maybe it's due to alternate names like stat64? If you apply the following patch and rerun that test, it should provide that information: make check -C tests TESTS=ls/stat-free-color VERBOSE=yes If my guess is correct, then adding ",stat64,lstat64" to the strace command may be the solution: strace -o log -e stat,lstat,stat64,lstat64 ls --color=always . || fail=1 >From 06a94be331d7e31048f2bb4e659130159cd454f0 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 24 May 2011 23:06:31 +0200 Subject: [PATCH] tests: stat-free-color: write more into the log upon failure * tests/ls/stat-free-color: Print syscall log upon error, to aid diagnosis. --- tests/ls/stat-free-color | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/ls/stat-free-color b/tests/ls/stat-free-color index d11c6f4..f14beb9 100755 --- a/tests/ls/stat-free-color +++ b/tests/ls/stat-free-color @@ -49,6 +49,6 @@ eval $(dircolors -b color-without-stat) strace -o log -e stat,lstat ls --color=always . || fail=1 n_lines=$(wc -l < log) -test $n_lines = 1 || fail=1 +test $n_lines = 1 || { fail=1; cat log; } Exit $fail -- 1.7.5.2.585.gfbd48 From debbugs-submit-bounces@debbugs.gnu.org Tue May 24 17:22:10 2011 Received: (at 8728) by debbugs.gnu.org; 24 May 2011 21:22:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOz3K-0005HS-Ix for submit@debbugs.gnu.org; Tue, 24 May 2011 17:22:10 -0400 Received: from mail-ww0-f46.google.com ([74.125.82.46]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QOz3I-0005HG-Vm for 8728@debbugs.gnu.org; Tue, 24 May 2011 17:22:09 -0400 Received: by wwb28 with SMTP id 28so7587060wwb.15 for <8728@debbugs.gnu.org>; Tue, 24 May 2011 14:22:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:cc:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=JJEKW8IKCx5lr4+738h8WK9aGMv9qVBKeYKZU/BPNUY=; b=oVhDEBxG2BwRWL1a6jE4UCFCiKpAvADhHw7eXrjx73n0pgmDW1QMOM4xa0e26ZGuOo UuaKDVJLmZy0yoHViO4h1Xf58iQKE+ObEkZa93KlnvO92iAqtd6bX8L+XWHsxwC/i/MK L9DWJbJmsgF4Az+vP7bAMrqlVUoxL3C4mjZvA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=e7YJNkeV+KAd3XI8PdfUwgr0vjWoc73ZHK2YtDtxXXXItrXIU1sYG4MhCgYgZEBenY xG3IDxscDRRssKFF1GxPonSQQGsCFEJbS5rbIdBd8CExASICUmLOqloXkS5ishbcYNrd yoHxG7RmMNb64fW8K7g2fs4HdLpfQb3q4t3yw= Received: by 10.216.35.76 with SMTP id t54mr3867764wea.26.1306272123109; Tue, 24 May 2011 14:22:03 -0700 (PDT) Received: from bigio.localnet (host250-99-dynamic.5-87-r.retail.telecomitalia.it [87.5.99.250]) by mx.google.com with ESMTPS id s44sm3229509weq.13.2011.05.24.14.22.00 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 May 2011 14:22:01 -0700 (PDT) From: Stefano Lattarini To: Jim Meyering Subject: Re: bug#8728: test 'stat-free-color' failed (latest git version v8.12-42-g7d44751) Date: Tue, 24 May 2011 23:21:49 +0200 User-Agent: KMail/1.13.3 (Linux/2.6.30-2-686; KDE/4.4.4; i686; ; ) References: <201105242209.44263.stefano.lattarini@gmail.com> <87wrhfere6.fsf@rho.meyering.net> In-Reply-To: <87wrhfere6.fsf@rho.meyering.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201105242321.50354.stefano.lattarini@gmail.com> X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 8728 Cc: 8728@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) On Tuesday 24 May 2011, Jim Meyering wrote: > Stefano Lattarini wrote: > > The log of the failed test is attached. I've not looked into it in any way. > > Let me know if you need more information. > > > > Regards, > > Stefano > > > > FAIL: ls/stat-free-color (exit: 1) > > ================================== > ... > > + strace -o log -e stat,lstat ls --color=always . > > color-without-stat > ... > > ++ wc -l > > + n_lines=0 > > + test 0 = 1 > > + fail=1 > > Hi Stefano, > Thanks for the report. > It would help to know why strace reported no matches. > Maybe it's due to alternate names like stat64? > > If you apply the following patch and rerun that test, > it should provide that information: > > make check -C tests TESTS=ls/stat-free-color VERBOSE=yes > The patch does not help to get more information IMHO, because the failure is caused precisely by the fact that `log' is empty (as can be inferred by the fact that n_lines=`wc -l If my guess is correct, then adding ",stat64,lstat64" > to the strace command may be the solution: > > strace -o log -e stat,lstat,stat64,lstat64 ls --color=always . || fail=1 > Yes, this does indeed fix the failure. > From 06a94be331d7e31048f2bb4e659130159cd454f0 Mon Sep 17 00:00:00 2001 > From: Jim Meyering > Date: Tue, 24 May 2011 23:06:31 +0200 > Subject: [PATCH] tests: stat-free-color: write more into the log upon failure > > * tests/ls/stat-free-color: Print syscall log upon error, > to aid diagnosis. > --- > tests/ls/stat-free-color | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/tests/ls/stat-free-color b/tests/ls/stat-free-color > index d11c6f4..f14beb9 100755 > --- a/tests/ls/stat-free-color > +++ b/tests/ls/stat-free-color > @@ -49,6 +49,6 @@ eval $(dircolors -b color-without-stat) > > strace -o log -e stat,lstat ls --color=always . || fail=1 > n_lines=$(wc -l < log) > -test $n_lines = 1 || fail=1 > +test $n_lines = 1 || { fail=1; cat log; } > > Exit $fail > -- > 1.7.5.2.585.gfbd48 > Thanks, Stefano From debbugs-submit-bounces@debbugs.gnu.org Wed May 25 01:38:04 2011 Received: (at 8728-done) by debbugs.gnu.org; 25 May 2011 05:38:04 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QP6nE-0007W6-4r for submit@debbugs.gnu.org; Wed, 25 May 2011 01:38:04 -0400 Received: from mx.meyering.net ([82.230.74.64]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QP6nC-0007Ve-9t for 8728-done@debbugs.gnu.org; Wed, 25 May 2011 01:38:03 -0400 Received: by rho.meyering.net (Acme Bit-Twister, from userid 1000) id A9CCE60177; Wed, 25 May 2011 07:37:56 +0200 (CEST) From: Jim Meyering To: Stefano Lattarini Subject: Re: bug#8728: test 'stat-free-color' failed (latest git version v8.12-42-g7d44751) In-Reply-To: <201105242321.50354.stefano.lattarini@gmail.com> (Stefano Lattarini's message of "Tue, 24 May 2011 23:21:49 +0200") References: <201105242209.44263.stefano.lattarini@gmail.com> <87wrhfere6.fsf@rho.meyering.net> <201105242321.50354.stefano.lattarini@gmail.com> Date: Wed, 25 May 2011 07:37:56 +0200 Message-ID: <87lixve3wr.fsf@rho.meyering.net> Lines: 38 MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 8728-done Cc: 8728-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.0 (------) Stefano Lattarini wrote: ... >> If my guess is correct, then adding ",stat64,lstat64" >> to the strace command may be the solution: >> >> strace -o log -e stat,lstat,stat64,lstat64 ls --color=always . || fail=1 >> > Yes, this does indeed fix the failure. Thanks for confirming. Here's the complete patch. >From 4cef42d22072899aae24b073016a5100981682b5 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 25 May 2011 07:35:59 +0200 Subject: [PATCH] tests: ls/stat-free-color: fix unwarranted failure on a 32-bit system * tests/ls/stat-free-color: Also check for stat64 and lstat64 syscalls. This fixes a test failure reported by Stefano Lattarini. --- tests/ls/stat-free-color | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tests/ls/stat-free-color b/tests/ls/stat-free-color index f14beb9..6bbd89c 100755 --- a/tests/ls/stat-free-color +++ b/tests/ls/stat-free-color @@ -47,7 +47,7 @@ MULTIHARDLINK 00 EOF eval $(dircolors -b color-without-stat) -strace -o log -e stat,lstat ls --color=always . || fail=1 +strace -o log -e stat,lstat,stat64,lstat64 ls --color=always . || fail=1 n_lines=$(wc -l < log) test $n_lines = 1 || { fail=1; cat log; } -- 1.7.5.2.585.gfbd48 From unknown Fri Jun 20 07:13:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 22 Jun 2011 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator