chmod: `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
chmod: cannot access `d/no-x/y': Permission denied
chmod: fts_read failed: Permission denied
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