diff options
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-x | testsuite/sed.tests | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests index 05c00a99b..675cb4f10 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests | |||
@@ -387,6 +387,12 @@ testing "sed 's///w FILE'" \ | |||
387 | "" \ | 387 | "" \ |
388 | "123\nqwe\nasd\n" | 388 | "123\nqwe\nasd\n" |
389 | 389 | ||
390 | testing "sed uses previous regexp" \ | ||
391 | "sed '/w/p;//q'" \ | ||
392 | "q\nw\nw\n" \ | ||
393 | "" \ | ||
394 | "q\nw\ne\nr\n" | ||
395 | |||
390 | # testing "description" "commands" "result" "infile" "stdin" | 396 | # testing "description" "commands" "result" "infile" "stdin" |
391 | 397 | ||
392 | exit $FAILCOUNT | 398 | exit $FAILCOUNT |