summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-07-25 15:40:02 +0000
committerJim Meyering <jim@meyering.net>2006-07-25 15:40:02 +0000
commit995cbf7830c7bf98b737f136c3916d1af05e6c60 (patch)
treeaca7ee694280ddafffe576a340f33589c029a2b4
parent2a287ee69bb89314d43785fca18eec3167659c17 (diff)
downloadcoreutils-995cbf7830c7bf98b737f136c3916d1af05e6c60.tar.xz
* tests/ls-2/tests (no-a-isdir-b): Update to reflect addition
of "cannot access " to diagnostic.
-rw-r--r--ChangeLog2
-rwxr-xr-xtests/ls-2/tests2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dec90e588..b6d267500 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,8 @@
Say "cannot access" rather than "cannot stat".
* tests/ls/stat-failed: New file/test, for the above.
* tests/ls/Makefile.am (TESTS): Add stat-failed.
+ * tests/ls-2/tests (no-a-isdir-b): Update to reflect addition
+ of "cannot access " to diagnostic.
* src/ls.c: Declare stat_failed to be "bool", not "int" everywhere.
diff --git a/tests/ls-2/tests b/tests/ls-2/tests
index 71c3fa78c..d3133e8d8 100755
--- a/tests/ls-2/tests
+++ b/tests/ls-2/tests
@@ -99,7 +99,7 @@ my @Tests =
# From Stéphane Chazelas.
['no-a-isdir-b', 'no-dir d',
{OUT => "d:\n"},
- {ERR => "ls: no-dir: No such file or directory\n"},
+ {ERR => "ls: cannot access no-dir: No such file or directory\n"},
$mkdir, $rmdir, {EXIT => 2}],
['recursive-2', '-R d', {OUT => "d:\ne\n\nd/e:\n"}, $mkdir2, $rmdir2],