* tests/ls-2/tests (no-a-isdir-b): Update to reflect addition
authorJim Meyering <jim@meyering.net>
Tue, 25 Jul 2006 15:40:02 +0000 (15:40 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 25 Jul 2006 15:40:02 +0000 (15:40 +0000)
of "cannot access " to diagnostic.

ChangeLog
tests/ls-2/tests

index dec90e5..b6d2675 100644 (file)
--- 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.
 
index 71c3fa7..d3133e8 100755 (executable)
@@ -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],