diff options
author | Jim Meyering <jim@meyering.net> | 2006-08-10 08:25:03 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-08-10 08:25:03 +0000 |
commit | 407ff38d9405d5071a2b7282ec053ef7bdb9e79b (patch) | |
tree | a2ef7ddb2c1d7184d420769dd0b938265ee0ac69 /tests | |
parent | ade68b234a924c087ef29e071aee39e398d2d705 (diff) | |
download | coreutils-407ff38d9405d5071a2b7282ec053ef7bdb9e79b.tar.xz |
add a comment
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/ls/stat-dtype | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/ls/stat-dtype b/tests/ls/stat-dtype index ac4bc400b..e94c2eb31 100755 --- 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 |