summaryrefslogtreecommitdiff
path: root/tests/pr/Test.pm
AgeCommit message (Collapse)Author
2007-07-23Update all copyright notices to use the newer form.Jim Meyering
2007-07-10Change "version 2" to "version 3" in all copyright notices.Jim Meyering
2007-07-04pr -F no longer suppresses the footer or the first two blank header linesPaul Eggert
Here's a patch along the lines of <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/10849/focus=10857>. It's a bit large since it changes the test cases to match the behavior, and the test cases' file names depend on the behavior! * NEWS: pr -F no longer suppresses the footer or the first two blank lines in the header. * doc/coreutils.texi (pr invocation): Likewise. Also, a too-short page length implies -t, not -T. * src/pr.c (lines_per_header, lines_per_footer): Now constants. (init_parameters): Don't try to change them. (print_header): Use the same header and footer format regardless of wither form feeds are being used. (usage): Adjust to above change when describing too-short page length. Too-short page length impliesy -t, not -T. * tests/pr/2-S_f-t_notab: Adjust to the fact that -F now affects only formfeed handling; it does not change the header. * tests/pr/2-Sf-t_notab: Likewise. ... * tests/pr/3-5l17f-t: Remove, since it's been renamed to another file whose name has a line count 7 larger, reflecting the new line count needed for this behavior. * tests/pr/3a3l8f-t: Likewise. ... * tests/pr/w72l24f-ll: Likewise. Signed-off-by: Jim Meyering <jim@meyering.net>
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2005-04-29Don't set _POSIX2_VERSION; no longer needed.Paul Eggert
2005-04-01Don't let pr treat +1:-1 like +1:18446744073709551615.Jim Meyering
(neg-page): Add a test for this.
2005-03-15Both `pr -0' and e.g., `pr -03' would evoke `column count too large'.Jim Meyering
`pr -0' should give a better diagnostic and `pr -03' should be equivalent to `pr -3'. (parse_column_count): Change return type to void. Call error (EXIT_FAILURE, ... for an invalid string. (main): Allocate space for column_count_string using malloc. Accumulate all old-style column-count digits before converting. When the number of columns is specified via both old-style, (e.g., -3), and a long option (--columns=5), ensure that only the last one specified takes effect. Add tests for the above.
2005-01-08(test_vector): For each -N test, automaticallyJim Meyering
create a new test vector using --columns=N.
2004-04-26Fix typo in env_default comment.Jim Meyering
2002-08-09[col-last]: New test for the above.Jim Meyering
2002-02-17Tell head to accept old-style options like `-1'.Jim Meyering
2001-03-17Adjust to minor spacing changes in pr headers.Jim Meyering
2001-02-18Update file names to reflect renamings.Jim Meyering
2000-08-05(narrow-1): New test, for the above.Jim Meyering
1999-04-15Updated tests.Jim Meyering
From Roland Huebner.
1999-04-12(test_vector): Disable all tests while I wait for an updated suite.Jim Meyering
1998-06-27*** empty log message ***Jim Meyering
1998-06-27Add two tests for double spacing.Jim Meyering
1997-03-14Add test that -o 0 works.Jim Meyering
1997-02-16(Tests '7.*'): Reflect file-renaming.Jim Meyering
1997-02-01Reflect renamings.Jim Meyering
1997-02-01(test 10md): Reflect renaming.Jim Meyering
1997-01-30Remove common_option_prefix flag.Jim Meyering
(test_vector): Prepend the common option here instead.
1996-12-28Make 'em arrays of references, not arrays of arrays.Jim Meyering
1996-12-24.Jim Meyering