diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-29 14:31:47 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-01-29 14:31:47 +0000 |
commit | 23620f1f7d2e58f9b44c1c9d0e57bd9d86937e6d (patch) | |
tree | 66e4a7f08b6696a8ac0b8839438e44a0314f4090 /testsuite | |
parent | 938e84dc19a2ad67c3ee7260ed28ff0cefb2994b (diff) | |
download | busybox-w32-23620f1f7d2e58f9b44c1c9d0e57bd9d86937e6d.tar.gz busybox-w32-23620f1f7d2e58f9b44c1c9d0e57bd9d86937e6d.tar.bz2 busybox-w32-23620f1f7d2e58f9b44c1c9d0e57bd9d86937e6d.zip |
sed: fix 2 bugs (one testsuite entry + one newly found)
but more importantly make code more understandable
git-svn-id: svn://busybox.net/trunk/busybox@17632 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/sed.tests | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests index a386f1723..cc200703d 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests | |||
@@ -139,6 +139,10 @@ testing "sed selective matches noinsert newline" \ | |||
139 | testing "sed clusternewline" \ | 139 | testing "sed clusternewline" \ |
140 | "sed -e '/one/a 111' -e '/two/i 222' -e p input -" \ | 140 | "sed -e '/one/a 111' -e '/two/i 222' -e p input -" \ |
141 | "one\none\n111\n222\ntwo\ntwo" "one" "two" | 141 | "one\none\n111\n222\ntwo\ntwo" "one" "two" |
142 | testing "sed subst+write" \ | ||
143 | "sed -e 's/i/z/' -e 'woutputw' input -; echo -n X; cat outputw" \ | ||
144 | "thzngy\nagaznXthzngy\nagazn" "thingy" "again" | ||
145 | rm outputw | ||
142 | 146 | ||
143 | # Test end-of-file matching behavior | 147 | # Test end-of-file matching behavior |
144 | 148 | ||