]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(nul-1, nul-2): Adjust expected diagnostics to match corrected output.
authorJim Meyering <jim@meyering.net>
Mon, 22 Mar 2004 20:38:28 +0000 (20:38 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 22 Mar 2004 20:38:28 +0000 (20:38 +0000)
tests/du/files0-from

index d1fbe5b82a7fd27fb123fb0b5210772f3528889e..17e6e26db40f48d37104ee559fc7f6fd81ce1ccd 100755 (executable)
@@ -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=-', '<',