summaryrefslogtreecommitdiff
path: root/tests/ls/stat-dtype
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls/stat-dtype')
-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