From: Jim Meyering Date: Wed, 25 May 2011 05:35:59 +0000 (+0200) Subject: tests: ls/stat-free-color: fix unwarranted failure on a 32-bit system X-Git-Tag: v8.13~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf9d4f1317e1247e16a643128a60620444d7049f;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/tests/ls/stat-free-color b/tests/ls/stat-free-color index d11c6f49c0..06e621e7e7 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