1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 18:56:39 +02:00

(nul-1, nul-2): Adjust expected diagnostics to match corrected output.

This commit is contained in:
Jim Meyering
2004-03-22 20:38:28 +00:00
parent 7bafb22e6c
commit 68858cdd9e

View File

@@ -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=-', '<',