diff options
Diffstat (limited to 'testsuite')
-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 05c00a9..675cb4f 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests @@ -387,6 +387,12 @@ testing "sed 's///w FILE'" \ "" \ "123\nqwe\nasd\n" +testing "sed uses previous regexp" \ + "sed '/w/p;//q'" \ + "q\nw\nw\n" \ + "" \ + "q\nw\ne\nr\n" + # testing "description" "commands" "result" "infile" "stdin" exit $FAILCOUNT |