diff options
Diffstat (limited to 'testsuite/sed.tests')
-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 | ||