summaryrefslogtreecommitdiff
path: root/tests/pr/Test.pm
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-06-27 23:45:03 +0000
committerJim Meyering <jim@meyering.net>1998-06-27 23:45:03 +0000
commit70c8aaf873fbb49aabb88e918f21e1dee5fb22f0 (patch)
tree60fdb6bc78fb716a92d44b3b52b8b24b695f1cd0 /tests/pr/Test.pm
parent182a1780acb347c5ee4a6cce9304d5c87a5b59c1 (diff)
downloadcoreutils-70c8aaf873fbb49aabb88e918f21e1dee5fb22f0.tar.xz
Add two tests for double spacing.
Diffstat (limited to 'tests/pr/Test.pm')
-rw-r--r--tests/pr/Test.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/pr/Test.pm b/tests/pr/Test.pm
index 6eb77b8b5..28945c2e7 100644
--- a/tests/pr/Test.pm
+++ b/tests/pr/Test.pm
@@ -16,6 +16,7 @@ my @tv = (
# combinations of options and FF-arrangements
#
# One FF at start of file (one empty page)
+
['1a', '', [\'0Ft'], [\'0F'], 0],
['1b', '', [\'0Fnt'], [\'0F'], 0],
['1c', '+3', [\'0Ft'], [\'3-0F'], 0],
@@ -263,6 +264,12 @@ my @tv = (
['12md', '-o3 -j -m -l17 -f', [\'tFFt-lm', \'loli'], [\'o3jml17f-lm-lo'], 0],
['margin-0', '-o 0', '', '', 0],
+
+# FIXME: that leading space on 3rd line of output should not be there
+['dbl-sp-a', '-d -l 14 -h ""', "1\n2\n", "\n\n \n\n\n1\n\n2\n\n\n\n\n\n\n", 0],
+# This test failed with 1.22e and earlier.
+['dbl-sp-b', '-d -t', "1\n2\n", "1\n\n2\n\n", 0],
+
);
#']]);