tests: ls/stat-free-color: fix unwarranted failure on a 32-bit system
authorJim Meyering <meyering@redhat.com>
Wed, 25 May 2011 05:35:59 +0000 (07:35 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 25 May 2011 06:27:34 +0000 (08:27 +0200)
* 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

index d11c6f4..06e621e 100755 (executable)
@@ -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