summaryrefslogtreecommitdiff
path: root/tests/tr/Test.pm
AgeCommit message (Collapse)Author
2008-01-11tests/tr/Test.pm: Prefer en_US.ISO-8859-1 to en_US.iso88591.Jim Meyering
Suggestions from James Youngman and Pádraig Brady in http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218/focus=12227
2008-01-06Avoid tr case-conversion failure in some locales.Jim Meyering
* src/tr.c (skip_construct): New function. (main): When processing a pair of case-converting classes, don't iterate through the elements of each [:upper:] or [:lower:] class. Reported by Gerald Pfeifer in <http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/12218>. * tests/tr/Test.pm [tolower-F]: New test for the above fix. [upcase-xtra, dncase-xtra]: New tests, for a related code path. * NEWS: Mention the tr bug fix.
2007-12-01Change comments: say bug present up to coreutils-6.9, not fixed in 6.10.Jim Meyering
* tests/cut/Test.pm: Adjust comment. * tests/misc/cut: Likewise. * tests/misc/ls-misc: Likewise. * tests/misc/od: Likewise. * tests/misc/stty-invalid: Likewise. * tests/tr/Test.pm: Likewise.
2007-10-21tr: do not reject an unmatched [:lower:] or [:upper:] in SET1.Jim Meyering
* NEWS: Mention this. * src/tr.c (get_next) [RE_CHAR_CLASS]: Don't skip the loop when processing [:lower:] and [:upper:]. (main): Require [:lower:] or [:upper:] in SET1 only when when one of those is specified in SET2. * tests/tr/Test.pm: Add tests for this fix. Reported by Per Starbäck. Signed-off-by: Jim Meyering <meyering@redhat.com>
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-04tr -c: don't abort when translating with S2 larger than complement of S1Jim Meyering
* src/tr.c (main): Remove invalid assertion triggered by e.g., tr -c a '[b*256]'. There's nothing wrong with having Set2 larger than Set1. Reported by Guntram Blohm. * tests/tr/Test.pm (no-abort-1): Test for the above. * NEWS: Mention this bug fix. * THANKS: Add Guntram Blohm.
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2005-01-12(repeat-000): Rename to `repeat-zeros' for the same reason.Jim Meyering
2005-01-12(repeat-bigC): Change test name fromJim Meyering
`repeat-Compl', to avoid 8.3 conflict with `repeat-compl'.
2004-09-09(fowler-1): New test case.Paul Eggert
2004-06-02New tests bs-055, bs-at-end, repeat-Compl.Jim Meyering
Fix comment for range-a-a.
2004-05-312004-05-29 Paul Eggert <eggert@cs.ucla.edu>Jim Meyering
tr cleanup, mostly having to do with integer type ranges. Remove all casts. * tests/tr/Test.pm: Add a few tests for the below. Alas, most of the test cases wouldn't be portable, or would take too much CPU time, or both.
2002-01-18Add these tests:Jim Meyering
tr '[==]' x tr '[::]' x they should fail, not get a failed assertion.
2000-01-22(o-rep-1, o-rep-2): New tests.Jim Meyering
1997-01-30Do each test twice: get input via REDIR and PIPE.Jim Meyering
1997-01-13Rename tests so that the associated filesJim Meyering
have names that are distinct even on filesystems on which file names are case insensitive.
1996-12-22Use test_vector, not array @t.Jim Meyering
1996-12-20Adapted for new mk-script.pl.Jim Meyering
1996-08-18.Jim Meyering
1996-08-18.Jim Meyering
1996-08-18.Jim Meyering