summaryrefslogtreecommitdiff
path: root/tests/wc/Test.pm
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-11-02 14:21:59 +0000
committerJim Meyering <jim@meyering.net>1997-11-02 14:21:59 +0000
commitc70a6df8c7b84d6cdcbf1c15efcc740fa69f2e6f (patch)
tree61020a45d4e1c478823bb794627d0c26b036c09f /tests/wc/Test.pm
parent0b5e9481046c70aff8296ed5aaae694bb202aa8e (diff)
downloadcoreutils-c70a6df8c7b84d6cdcbf1c15efcc740fa69f2e6f.tar.xz
*** empty log message ***
Diffstat (limited to 'tests/wc/Test.pm')
-rwxr-xr-xtests/wc/Test.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/wc/Test.pm b/tests/wc/Test.pm
index fc507dc49..261f68e25 100755
--- a/tests/wc/Test.pm
+++ b/tests/wc/Test.pm
@@ -13,12 +13,14 @@ my @tv = (
['a4', '-w', 'x', " 1\n", 0],
['a5', '-w', "x y\n", " 2\n", 0],
['a6', '-w', "x y\nz", " 3\n", 0],
-# Remember, -l counts *newline* bytes, not lines.
+# Remember, -l counts *newline* bytes, not logical 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],
['b1', '', "a b\nc\n", " 2 3 6\n", 0],
+['c0', '-L', "1\n12\n", " 2\n", 0],
+['c1', '-L', "\n123456", " 6\n", 0],
);
sub test_vector