summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2007-08-02 19:48:03 +0200
committerJim Meyering <jim@meyering.net>2007-08-02 19:48:03 +0200
commit33f95a9ab62968a6b13eb1a6a71f180f61721f71 (patch)
treefeceac1c7e5fdd93c8a5b61f17d2b516a352ef10
parent674ea8b2dc17a017f2f5a7c67bc8cc90ca18ac53 (diff)
downloadcoreutils-33f95a9ab62968a6b13eb1a6a71f180f61721f71.tar.xz
Adjust one more test to accommodate the recent fts change.
This matters only on systems with insufficient openat support. * tests/du/inacc-dest: Adjust expected diagnostic.
-rw-r--r--ChangeLog4
-rwxr-xr-xtests/du/inacc-dest5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bf38e2186..ee5220e4d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2007-08-02 Jim Meyering <jim@meyering.net>
+ Adjust one more test to accommodate the recent fts change.
+ This matters only on systems with insufficient openat support.
+ * tests/du/inacc-dest: Adjust expected diagnostic.
+
Adjust the other two "no-x" tests and unify all three.
* tests/du/no-x: Factor out du-specific bits.
* tests/chmod/no-x: Use the same code.
diff --git a/tests/du/inacc-dest b/tests/du/inacc-dest
index d0f9bc4a6..af28fcc04 100755
--- a/tests/du/inacc-dest
+++ b/tests/du/inacc-dest
@@ -2,7 +2,7 @@
# Prior to coreutils-6.5, an inaccessible destination dir (chmod a-x)
# would cause du to exit prematurely on systems with native openat support.
-# Copyright (C) 2006 Free Software Foundation, Inc.
+# Copyright (C) 2006-2007 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -58,9 +58,10 @@ cat <<\EOF > exp || fail=1
.
./a
./b
+./c
./d
./e
-du: `./c': Permission denied
+du: cannot read directory `./c': Permission denied
EOF
cat <<\EOF > exp2 || fail=1