projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56a88e9
)
tests: ls/stat-free-color: fix unwarranted failure on a 32-bit system
author
Jim Meyering
<meyering@redhat.com>
Wed, 25 May 2011 05:35:59 +0000
(07:35 +0200)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/tests/ls/stat-free-color
b/tests/ls/stat-free-color
index
d11c6f4
..
06e621e
100755
(executable)
--- 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