aboutsummaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-10-30 14:25:22 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-10-30 14:25:22 +0100
commitc44539fcd32a0861f9f540253b5e914028821bd7 (patch)
tree39f189a6bfd6a6a9515227ccb14a849a894a3860 /testsuite
parenta82e32d9ce199db01aaea92ebcb39a23d90e5b85 (diff)
downloadbusybox-w32-c44539fcd32a0861f9f540253b5e914028821bd7.tar.gz
busybox-w32-c44539fcd32a0861f9f540253b5e914028821bd7.tar.bz2
busybox-w32-c44539fcd32a0861f9f540253b5e914028821bd7.zip
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')
-rwxr-xr-xtestsuite/sed.tests2
1 files changed, 0 insertions, 2 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index 2af1e4c97..9494ac2de 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -154,11 +154,9 @@ testing "sed selective matches insert newline" \
154testing "sed selective matches noinsert newline" \ 154testing "sed selective matches noinsert newline" \
155 "sed -ne 's/woo/bang/p' input -" "a bang\nb bang" "a woo\nb woo" \ 155 "sed -ne 's/woo/bang/p' input -" "a bang\nb bang" "a woo\nb woo" \
156 "c no\nd no" 156 "c no\nd no"
157test x"$SKIP_KNOWN_BUGS" = x"" && {
158testing "sed clusternewline" \ 157testing "sed clusternewline" \
159 "sed -e '/one/a 111' -e '/two/i 222' -e p input -" \ 158 "sed -e '/one/a 111' -e '/two/i 222' -e p input -" \
160 "one\none\n111\n222\ntwo\ntwo" "one" "two" 159 "one\none\n111\n222\ntwo\ntwo" "one" "two"
161}
162testing "sed subst+write" \ 160testing "sed subst+write" \
163 "sed -e 's/i/z/' -e 'woutputw' input -; $ECHO -n X; cat outputw" \ 161 "sed -e 's/i/z/' -e 'woutputw' input -; $ECHO -n X; cat outputw" \
164 "thzngy\nagaznXthzngy\nagazn" "thingy" "again" 162 "thzngy\nagaznXthzngy\nagazn" "thingy" "again"