aboutsummaryrefslogtreecommitdiff
path: root/tools/regression/usr.bin/sed/multitest.t
Commit message (Collapse)AuthorAgeFilesLines
* Migrate most of tools/regression/usr.bin/ to the new tests layout.Julio Merino2014-03-161-493/+0
| | | | | | | | | | | | | | | | | | I'm starting with the easy cases. The leftovers need to be looked at a bit more closely. Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory. Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately. Notes: svn path=/head/; revision=263227
* There are actually 129 tests here.David E. O'Brien2010-01-041-1/+1
| | | | Notes: svn path=/head/; revision=201490
* IEEE Std 1003.1, 2004 Edition states:Diomidis Spinellis2009-09-201-0/+3
| | | | | | | | | | | | | | | | "The escape sequence '\n' shall match a <newline> embedded in the pattern space." It is unclear whether this also applies to a \n embedded in a character class. Disable the existing handling of \n in a character class following Mac OS X, GNU sed version 4.1.5 with --posix, and SunOS 5.10 /usr/bin/sed. Pointed by: Marius Strobl Obtained from: Mac OS X Notes: svn path=/head/; revision=197362
* Follow POSIX (IEEE Std 1003.1, 2004 Edition) in the implementationDiomidis Spinellis2009-09-201-0/+4
| | | | | | | | | | | | | | of the y (translate) command. "If a backslash character is immediately followed by a backslash character in string1 or string2, the two backslash characters shall be counted as a single literal backslash character" Pointed by: Marius Strobl Obtained from: Mac OS X Notes: svn path=/head/; revision=197361
* Describe how other systems treat this case.Diomidis Spinellis2009-09-201-1/+5
| | | | Notes: svn path=/head/; revision=197357
* Allow [ to be used as a delimiter.Diomidis Spinellis2009-09-201-0/+9
| | | | | | | | Pointed by: Marius Strobl Obtained from: Apple Notes: svn path=/head/; revision=197356
* The transition to Subversion allows us to rename files withoutDiomidis Spinellis2009-09-201-9/+7
| | | | | | | | | repo-copy hacks. Remove the test-number prefix from the name of the output files, so that new test cases can be easily added. Notes: svn path=/head/; revision=197352
* Regression test the 'addr1,+N' feature added in r192732Brian Somers2009-05-251-0/+2
| | | | Notes: svn path=/head/; revision=192733
* cd to the correct directory so that the tests can be run from prove(1)Diomidis Spinellis2007-12-161-0/+1
| | | | Notes: svn path=/head/; revision=174655
* Today SUN and GNU seds fully agree on test 5.3 and behaveYaroslav Tykhiy2007-04-021-1/+1
| | | | | | | | | in a more reasonable way than BSD sed does: they properly close the range even if we branched over its end. No doubt, the range `1,5' should not match lines from 9 through 14. Notes: svn path=/head/; revision=168257
* Reinstate error-testing regression tests.Diomidis Spinellis2007-03-141-39/+38
| | | | Notes: svn path=/head/; revision=167555
* Integrate the tests I wrote in 1992 with our current regressionDiomidis Spinellis2007-03-141-65/+55
| | | | | | | testing framework and protocol. Notes: svn path=/head/; revision=167552
* - Uncomment tests that were commented outDiomidis Spinellis2007-03-141-86/+42
| | | | | | | | - Update platform-conditional tests to reflect current reality - Fix conditional for test 7.8: it is the fault of BSD sed Notes: svn path=/head/; revision=167549
* - It looks like BSD and GNU sed can nowadays pass two more tests.Diomidis Spinellis2007-03-141-7/+4
| | | | | | | - Test 7.8 fails for GNU sed not BSD. Notes: svn path=/head/; revision=167547
* Use another non-printing test; address 0 now has a special meaning in GNU sed.Diomidis Spinellis2007-03-141-2/+2
| | | | Notes: svn path=/head/; revision=167546
* Update tests to reflect the state of the art of sed in HEAD andDiomidis Spinellis2007-03-141-45/+19
| | | | | | | | | GNU sed 4.1.5. Almost all of the tests that were skipped for BSD or GNU sed now appear to work. Notes: svn path=/head/; revision=167544
* Per letter dated July 22, 1999 remove 3rd clause of Berkeley derivedDiomidis Spinellis2004-08-091-4/+0
| | | | | | | | | software (original contributor). Reviewed by: imp Notes: svn path=/head/; revision=133385
* Test 8.16 in sed.test tests the ability of a sed to handle an emptyDiomidis Spinellis2003-07-221-11/+19
| | | | | | | | | | | | | | | | | | | | regular expression as the first argument to a substitute command. If used to test a sed which (erroneously) evaluates this at translation time rather than at execution time, the bugged sed is put into an infinite loop. This mode of failure seems excessive. Such a failing sed is the Free Software Foundation's sed 3.02. The specific test was also not being executed for the BSD sed. Both problems are now fixed. PR: misc/25585 Submitted by: Walter Briscoe <w.briscoe@ponl.com> Approved by: schweikh (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=117900
* Make it at least semi-workedAndrey A. Chernov1996-08-111-2/+2
| | | | Notes: svn path=/head/; revision=17523
* BSD 4.4 Lite Usr.bin SourcesRodney W. Grimes1994-05-271-0/+552
Notes: svn path=/cvs2svn/branches/CHRISTOS/; revision=1590