summaryrefslogtreecommitdiff
path: root/tests/wc/Test.pm
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-13 20:27:15 +0000
committerJim Meyering <jim@meyering.net>1997-07-13 20:27:15 +0000
commit7c97f17f9bb4699e17f87cc9e6425dd7f7c699a4 (patch)
tree3e04176764d33f1527bfa6b1c382313b88cdf24a /tests/wc/Test.pm
parent5b0298d2b5c203c78da0f9a8d7e4d0034db45f80 (diff)
downloadcoreutils-7c97f17f9bb4699e17f87cc9e6425dd7f7c699a4.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/wc/Test.pm')
-rwxr-xr-xtests/wc/Test.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/wc/Test.pm b/tests/wc/Test.pm
index 0f7de7831..fc507dc49 100755
--- a/tests/wc/Test.pm
+++ b/tests/wc/Test.pm
@@ -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],