Rob Landley
93850a56b2
Patch from Colin Watson (mangled slightly by Rob Landley):
...
This patch implements the 'T' command in sed. This is a GNU extension,
but one of the udev hotplug scripts uses it, so I need it in busybox
anyway.
Includes a test; 'svn add testsuite/sed/sed-branch-conditional-inverted'
after applying.
2005-05-18 06:34:37 +00:00
Eric Andersen
650fe63467
Kill off the old 'tests' stuff. Write a ton of new tests for the
...
'testsuite' dir. Fix a bunch of broken tests. Fix the testsuite
'runtest' script so it actually reports all failures and provides
meaningful feedback.
-Erik
2004-04-06 11:10:30 +00:00
Glenn L McGrath
3a2fcc63b8
remove controversial tests
2003-11-20 09:56:34 +00:00
Glenn L McGrath
2570b43e82
Configuration option to define wether to follows GNU sed's behaviour
...
or the posix standard.
Put the cleanup code back the way it was.
2003-09-16 05:25:43 +00:00
Glenn L McGrath
204ff1cea4
Fix a bug that creapt in recently with substitution subprinting, and add
...
a test for it.
2003-09-16 01:46:36 +00:00
Glenn L McGrath
977451ef44
Fix a simple mistake with pattern space, and add a test for it
2003-09-15 12:07:48 +00:00
Glenn L McGrath
2eed0e2d47
Add a test for the 'P' command and fix current implementation so it
...
doesnt permanently modify the pattern space.
2003-09-15 06:28:45 +00:00
Glenn L McGrath
6e5687abc3
A test and fix for the sed 'n' command
2003-09-15 06:12:53 +00:00
Glenn L McGrath
7b35121297
Test for use of newline in regex's, this feature is used by most
...
configure scripts.
2003-09-15 05:53:28 +00:00
Glenn L McGrath
65f9dc01f3
Test the N command
2003-09-15 05:35:47 +00:00
Glenn L McGrath
ba5eb27ce3
Check sed doesnt go into an infinite loop (yes it does)
2003-09-15 04:41:17 +00:00
Glenn L McGrath
7bf8f5bc5e
Update sed branch tests
2003-09-14 11:10:08 +00:00
Glenn L McGrath
8a0b59fb82
Add two new tests, sed-recurses-properly should always work
2003-09-14 09:38:24 +00:00
Glenn L McGrath
9c802416ab
left out a \"
2002-11-28 00:51:38 +00:00
Glenn L McGrath
73ceca275e
This test was hanging
2002-11-28 00:47:49 +00:00
Matt Kraai
3ad88ccf2d
* testsuite/sed/sed-recurses-properly: Mark XFAIL.
2002-06-11 13:29:08 +00:00
Eric Andersen
3e6908b586
Sed can go into an infinite loop
2002-04-13 13:18:15 +00:00
Matt Kraai
5c69cd84ff
* editors/sed.c (process_file): Stop processing deleted lines.
...
* testsuite/sed/sed-does-not-substitute-in-delete-line: New.
2002-04-01 16:17:37 +00:00
Matt Kraai
5ed78adca5
* editors/sed.c (parse_edit_cmd): Rewrite.
...
* testsuite/sed/sed-splits-edit-commands-on-command-line: New.
2002-01-03 21:12:34 +00:00
Matt Kraai
d21735de2d
* editors/sed.c (parse_edit_command): Require a newline after the backslash
...
after an edit command.
* testsuite/sed/sed-requires-newline-after-edit-command: New.
2002-01-02 17:56:38 +00:00
Matt Kraai
70624846fd
Ignore blanks before the first address and before the command.
2001-12-21 16:04:12 +00:00
Eric Andersen
c52a6b0f10
|2001-10-08 Rodney Brown <rbrown64@csc.com.au>
...
|
| * editors/sed.c: Fix multiline [aic] commands. Make # an endline
| comment for compatibility. Codespace reduction.
| * tests/testcases: Cope with move to subdirectories.
| * testsuite/sed/sed-aic-commands: Add.
|
| text data bss dec hex filename
| 3772 16 0 3788 ecc editors/sed.o
| 4516 16 0 4532 11b4 editors/sed.o.bu
2001-11-10 10:49:42 +00:00
Matt Kraai
3889078dbe
Merge test suite.
2001-10-30 23:11:20 +00:00