summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtests/du/no-x6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/du/no-x b/tests/du/no-x
index e1d400ae6..7cd2f182b 100755
--- a/tests/du/no-x
+++ b/tests/du/no-x
@@ -35,8 +35,8 @@ cat <<\EOF > exp
du: `d/no-x': Permission denied
EOF
-# With native openat, du uses a different code path.
-cat <<\EOF > exp-native-openat
+# With native fdopendir, du uses a different code path.
+cat <<\EOF > exp-native-fdopendir
du: cannot access `d/no-x/y': Permission denied
du: fts_read failed: Permission denied
EOF
@@ -44,7 +44,7 @@ EOF
if cmp out exp >/dev/null 2>&1; then
:
else
- if cmp out exp-native-openat; then
+ if cmp out exp-native-fdopendir; then
:
else
fail=1