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:
ade68b2
)
add a comment
author
Jim Meyering
<jim@meyering.net>
Thu, 10 Aug 2006 08:25:03 +0000
(08:25 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 10 Aug 2006 08:25:03 +0000
(08:25 +0000)
tests/ls/stat-dtype
patch
|
blob
|
history
diff --git
a/tests/ls/stat-dtype
b/tests/ls/stat-dtype
index
ac4bc40
..
e94c2eb
100755
(executable)
--- a/
tests/ls/stat-dtype
+++ b/
tests/ls/stat-dtype
@@
-1,5
+1,7
@@
#!/bin/sh
# Ensure that ls --file-type does not call stat unnecessarily.
+# The trick is to create an un-stat'able symlink and to see if ls
+# can report its type nonetheless, using dirent.d_type.
if test "$VERBOSE" = yes; then
set -x