aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-xtestsuite/sed.tests21
1 files changed, 21 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index 468565f47..2af1e4c97 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -310,6 +310,27 @@ testing "sed zero chars match/replace logic must not falsely trigger here 2" \
310 "sed 's/ *$/_/g'" \ 310 "sed 's/ *$/_/g'" \
311 "qwerty_\n" "" "qwerty\n" 311 "qwerty_\n" "" "qwerty\n"
312 312
313testing "sed /\$_in_regex/ should not match newlines, only end-of-line" \
314 "sed ': testcont; /\\\\$/{ =; N; b testcont }'" \
315 "\
316this is a regular line
3172
318line with \\
319continuation
320more regular lines
3215
322line with \\
323continuation
324" \
325 "" "\
326this is a regular line
327line with \\
328continuation
329more regular lines
330line with \\
331continuation
332"
333
313# testing "description" "commands" "result" "infile" "stdin" 334# testing "description" "commands" "result" "infile" "stdin"
314 335
315exit $FAILCOUNT 336exit $FAILCOUNT