summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-08-10 08:25:03 +0000
committerJim Meyering <jim@meyering.net>2006-08-10 08:25:03 +0000
commit407ff38d9405d5071a2b7282ec053ef7bdb9e79b (patch)
treea2ef7ddb2c1d7184d420769dd0b938265ee0ac69 /tests
parentade68b234a924c087ef29e071aee39e398d2d705 (diff)
downloadcoreutils-407ff38d9405d5071a2b7282ec053ef7bdb9e79b.tar.xz
add a comment
Diffstat (limited to 'tests')
-rwxr-xr-xtests/ls/stat-dtype2
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