summaryrefslogtreecommitdiff
path: root/tests/pr/W20l24f-ll
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-03-06 20:03:26 +0100
committerJim Meyering <meyering@redhat.com>2009-03-07 23:52:08 +0100
commita4053c5291d5797734b3e4f042f9e1adf3944fd6 (patch)
treec9d69875fa146021d6dfbfab798a4460c9701477 /tests/pr/W20l24f-ll
parent85507b24f9531b20c339acbf6c215c84e74b6860 (diff)
downloadcoreutils-a4053c5291d5797734b3e4f042f9e1adf3944fd6.tar.xz
pr: fix a bug whereby --indent=N (-o) did not indent header lines
* src/pr.c (print_header): Honor chars_per_margin also for the header. Inspired by a patch from C de-Avillez. This change also adjusts two other %*s directives to be %*.*s instead, (for the padding on either side of "file_text") to correct a bug that could make pr print one space of padding instead of none. * NEWS (Bug fixes): Mention it. * tests/pr/o3Jml24f-lm-lo: Adjust for new expected output. * tests/pr/o3a3Sl24f-tn: Likewise. * tests/pr/o3a3Snl24f-tn: Likewise. * tests/pr/o3a3l24f-tn: Likewise. * tests/pr/o3b3Sl24f-tn: Likewise. * tests/pr/o3b3Snl24f-tn: Likewise. * tests/pr/o3b3l24f-tn: Likewise. * tests/pr/o3mSl24f-bl-tn: Likewise. * tests/pr/o3mSnl24fbltn: Likewise. * tests/pr/o3ml24f-bl-tn: Likewise.
Diffstat (limited to 'tests/pr/W20l24f-ll')
-rw-r--r--tests/pr/W20l24f-ll18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/pr/W20l24f-ll b/tests/pr/W20l24f-ll
index ecc9a7afc..92d08afe4 100644
--- a/tests/pr/W20l24f-ll
+++ b/tests/pr/W20l24f-ll
@@ -1,6 +1,6 @@
--- Date/Time -- x Page 1
+-- Date/Time --xPage 1
1<<< -Test: FF's in
@@ -19,13 +19,13 @@
14<<< 123456789 123
--- Date/Time -- x Page 2
+-- Date/Time --xPage 2
--- Date/Time -- x Page 3
+-- Date/Time --xPage 3
15<<< xyzxyzxyz XYZ
@@ -44,13 +44,13 @@
28<<< trunc
--- Date/Time -- x Page 4
+-- Date/Time --xPage 4
--- Date/Time -- x Page 5
+-- Date/Time --xPage 5
29<<<xyzxyzxyz XYZXY
@@ -69,19 +69,19 @@
42<<< 123456789 abc
--- Date/Time -- x Page 6
+-- Date/Time --xPage 6
--- Date/Time -- x Page 7
+-- Date/Time --xPage 7
--- Date/Time -- x Page 8
+-- Date/Time --xPage 8
43<<< xyzxyzxyz XYZ
@@ -100,7 +100,7 @@
56<<< 123456789 abc
--- Date/Time -- x Page 9
+-- Date/Time --xPage 9
57<<< xyzxyzxyz XYZ