diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rwxr-xr-x | tests/ls-2/tests | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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], |