summaryrefslogtreecommitdiff
path: root/tests/du/no-x
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-11-12 18:42:24 +0100
committerJim Meyering <jim@meyering.net>2006-11-12 18:42:24 +0100
commitc24e93d9266be3e2d8a2dbe10dff73233cfe455b (patch)
tree018add8eccc576e09e5ea3be6a04aa8b54301f6a /tests/du/no-x
parent75be540f7d903ceea4dc527312c748aed2d62c73 (diff)
downloadcoreutils-c24e93d9266be3e2d8a2dbe10dff73233cfe455b.tar.xz
du would exit early, when encountering an inaccessible directory
Reported by Mike Frysinger, in http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/8831 * tests/du/inacc-dest: New test, based on an example from Mike Frysinger. * tests/chgrp/no-x: Remove the "fts_read failed: ..." diagnostic from the expected output when using native fdopendir. * tests/chmod/no-x: Likewise. * tests/du/no-x: Likewise.
Diffstat (limited to 'tests/du/no-x')
-rwxr-xr-xtests/du/no-x1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/du/no-x b/tests/du/no-x
index 61bd07a0f..fa93e97fd 100755
--- a/tests/du/no-x
+++ b/tests/du/no-x
@@ -55,7 +55,6 @@ EOF
# 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
if cmp out exp >/dev/null 2>&1; then