summaryrefslogtreecommitdiff
path: root/tests/uniq/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-05-13Test uniq's new --zero-terminated (-z) option.Jim Meyering
* tests/uniq/Test.pm: When possible, create a "-z"-testing variant of each existing test. (2z, 3z, 4z, 5z, 20z, 122, 123): New tests from James Youngman.
2006-12-13Remove some arbitrary restrictions on size fields,Paul Eggert
so that commands like "sort -k 18446744073709551616" no longer fail merely because 18446744073709551616 doesn't fit in uintmax_t. The trick is that these fields can all be treated as effectively infinity; their exact values don't matter, since no internal buffer can be that long. * src/join.c (string_to_join_field): Verify that SIZE_MAX <= ULONG_MAX if the code assumes this. Silently truncate too-large values to SIZE_MAX, as the remaining code will do the right thing in this case. * src/sort.c (parse_field_count): Likewise. * src/uniq.c (size_opt, main): Likewise. * tests/join/Test.pm (bigfield): New test. * tests/sort/Test.pm (bigfield): New test. * tests/uniq/Test.pm (121): New test. Signed-off-by: Jim Meyering <jim@meyering.net>
2006-12-09* tests/uniq/Test.pm (test_vector): Skip the pipe-reading testJim Meyering
whenever uniq is expected to fail. This should catch the other case [test #112] in which uniq emits "cat: write error: Broken pipe" on some systems.
2006-12-07Make the output of "make check" more reproducible.Jim Meyering
* tests/uniq/Test.pm: Don't perform the pipe-reading version of test 118, since it emits "cat: write error: Broken pipe" on some systems.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2005-04-29(tv): Rename tests from obs to obs-plusPaul Eggert
if they use file names starting with +. (test_vector): Don't set _POSIX2_VERSION if obs but not obs-plus.
2004-08-10Convert to UTF-8.Paul Eggert
2003-07-18(101, 102): Update tests of -c accordingly.Jim Meyering
2003-05-14Test that 'uniq -d -u' outputs nothing.Jim Meyering
2002-02-18(test_vector): Rename tests of obsolete usage to have prefix of `obs'.Jim Meyering
For tests matching /^obs/, put _POSIX2_VERSION=199209 in the environment, so the tests succeed even when the environment would have contained _POSIX2_VERSION=200112.
2001-10-04adjust to use new option-arg nameJim Meyering
2001-08-25Re-enable some commented-out tests.Jim Meyering
2001-08-25Add tests for -s 0 and -w 0.Jim Meyering
2001-08-25Add new test, #54, for the just-fixed bug.Jim Meyering
2001-05-20reflect option value renamingsJim Meyering
2001-05-19Test new, --all-repeated options.Jim Meyering
1999-01-09Add tests from Jochen Hein.Jim Meyering
1998-12-13.Jim Meyering