diff options
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-x | testsuite/sed.tests | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests index b0de9657c..5b0750cac 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests | |||
@@ -258,4 +258,18 @@ testing "sed nested {}s" \ | |||
258 | "qwe\nasd\nacd\nacd\n" "" \ | 258 | "qwe\nasd\nacd\nacd\n" "" \ |
259 | "qwe\nasd\nzxc\n" | 259 | "qwe\nasd\nzxc\n" |
260 | 260 | ||
261 | testing "sed a cmd ended by double backslash" \ | ||
262 | "sed -e '/| one /a \\ | ||
263 | | three \\\\' -e '/| one-/a \\ | ||
264 | | three-* \\\\'" \ | ||
265 | ' | one \\ | ||
266 | | three \\ | ||
267 | | two \\ | ||
268 | ' '' \ | ||
269 | ' | one \\ | ||
270 | | two \\ | ||
271 | ' | ||
272 | |||
273 | # testing "description" "arguments" "result" "infile" "stdin" | ||
274 | |||
261 | exit $FAILCOUNT | 275 | exit $FAILCOUNT |