diff options
author | Denys Vlasenko | 2013-10-30 14:25:22 +0100 |
---|---|---|
committer | Denys Vlasenko | 2013-10-30 14:25:22 +0100 |
commit | c44539fcd32a0861f9f540253b5e914028821bd7 (patch) | |
tree | 39f189a6bfd6a6a9515227ccb14a849a894a3860 /testsuite/sed.tests | |
parent | a82e32d9ce199db01aaea92ebcb39a23d90e5b85 (diff) | |
download | busybox-c44539fcd32a0861f9f540253b5e914028821bd7.zip busybox-c44539fcd32a0861f9f540253b5e914028821bd7.tar.gz |
sed: fix "sed clusternewline" testcase
function old new delta
process_files 2197 2226 +29
flush_append 47 54 +7
get_next_line 184 189 +5
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 41/0) Total: 41 bytes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-x | testsuite/sed.tests | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests index 2af1e4c..9494ac2 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests @@ -154,11 +154,9 @@ testing "sed selective matches insert newline" \ testing "sed selective matches noinsert newline" \ "sed -ne 's/woo/bang/p' input -" "a bang\nb bang" "a woo\nb woo" \ "c no\nd no" -test x"$SKIP_KNOWN_BUGS" = x"" && { testing "sed clusternewline" \ "sed -e '/one/a 111' -e '/two/i 222' -e p input -" \ "one\none\n111\n222\ntwo\ntwo" "one" "two" -} testing "sed subst+write" \ "sed -e 's/i/z/' -e 'woutputw' input -; $ECHO -n X; cat outputw" \ "thzngy\nagaznXthzngy\nagazn" "thingy" "again" |