]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Sun, 13 Jul 1997 20:27:15 +0000 (20:27 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 13 Jul 1997 20:27:15 +0000 (20:27 +0000)
tests/wc/Test.pm

index 0f7de783199a20020af93f08ebd63e4ac2bcbff5..fc507dc4999553655c84e9b2e40b0269204b4ff2 100755 (executable)
@@ -13,7 +13,8 @@ my @tv = (
 ['a4', '-w',  'x',                  "      1\n",                    0],
 ['a5', '-w',  "x y\n",              "      2\n",                    0],
 ['a6', '-w',  "x y\nz",             "      3\n",                    0],
-['a7', '-l',  "x y",                "      1\n",                    0],
+# Remember, -l counts *newline* bytes, not lines.
+['a7', '-l',  "x y",                "      0\n",                    0],
 ['a8', '-l',  "x y\n",              "      1\n",                    0],
 ['a9', '-l',  "x\ny\n",             "      2\n",                    0],
 ['b0', '',    "",                   "      0       0       0\n",    0],