aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-xtestsuite/sed.tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index 5b0750cac..88b9c4e4b 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -110,7 +110,7 @@ testing "sed embedded NUL" "sed -e 's/woo/bang/'" "\0bang\0woo\0" "" \
110testing "sed embedded NUL g" "sed -e 's/woo/bang/g'" "bang\0bang\0" "" \ 110testing "sed embedded NUL g" "sed -e 's/woo/bang/g'" "bang\0bang\0" "" \
111 "woo\0woo\0" 111 "woo\0woo\0"
112test x"$SKIP_KNOWN_BUGS" = x"" && { 112test x"$SKIP_KNOWN_BUGS" = x"" && {
113echo -e "/woo/a he\0llo" > sed.commands 113$ECHO -e "/woo/a he\0llo" > sed.commands
114testing "sed NUL in command" "sed -f sed.commands" "woo\nhe\0llo\n" "" "woo" 114testing "sed NUL in command" "sed -f sed.commands" "woo\nhe\0llo\n" "" "woo"
115rm sed.commands 115rm sed.commands
116} 116}
@@ -153,7 +153,7 @@ testing "sed clusternewline" \
153 "one\none\n111\n222\ntwo\ntwo" "one" "two" 153 "one\none\n111\n222\ntwo\ntwo" "one" "two"
154} 154}
155testing "sed subst+write" \ 155testing "sed subst+write" \
156 "sed -e 's/i/z/' -e 'woutputw' input -; echo -n X; cat outputw" \ 156 "sed -e 's/i/z/' -e 'woutputw' input -; $ECHO -n X; cat outputw" \
157 "thzngy\nagaznXthzngy\nagazn" "thingy" "again" 157 "thzngy\nagaznXthzngy\nagazn" "thingy" "again"
158rm outputw 158rm outputw
159testing "sed trailing NUL" \ 159testing "sed trailing NUL" \