diff options
author | Jim Meyering <jim@meyering.net> | 2004-03-22 20:38:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-03-22 20:38:28 +0000 |
commit | 68858cdd9ee12f422b0898195bbc6486c32f42a5 (patch) | |
tree | 34903bdbfd4f2905f753ac4bb315579fa1e6586c /tests | |
parent | 7bafb22e6c23f4c89fd490e1ca06d185c92dcaf5 (diff) | |
download | coreutils-68858cdd9ee12f422b0898195bbc6486c32f42a5.tar.xz |
(nul-1, nul-2): Adjust expected diagnostics to match corrected output.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/du/files0-from | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/du/files0-from b/tests/du/files0-from index d1fbe5b82..17e6e26db 100755 --- a/tests/du/files0-from +++ b/tests/du/files0-from @@ -46,11 +46,12 @@ my @Tests = # one NUL ['nul-1', '--files0-from=-', '<', {IN=>"\0"}, {EXIT=>1}, - {ERR => "du: no files specified in `-'\n"}], + {ERR => "du: -:1: invalid zero-length file name\n"}], # two NULs ['nul-2', '--files0-from=-', '<', {IN=>"\0\0"}, {EXIT=>1}, - {ERR => "du: no files specified in `-'\n"}], + {ERR => "du: -:1: invalid zero-length file name\n" + . "du: -:2: invalid zero-length file name\n"}], # one file name, no NUL ['1', '--files0-from=-', '<', |