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 34479e55f..5d2356b64 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests | |||
@@ -365,6 +365,12 @@ testing "sed /regex/,+0<cmd> -i works" \ | |||
365 | "1\n2\n3\n4\n5\n6\n7\n8\n" \ | 365 | "1\n2\n3\n4\n5\n6\n7\n8\n" \ |
366 | "1\n2\n4\n5\n6\n7\n8\n" \ | 366 | "1\n2\n4\n5\n6\n7\n8\n" \ |
367 | 367 | ||
368 | testing "sed 's///w FILE'" \ | ||
369 | "sed 's/qwe/ZZZ/wz'; cat z; rm z" \ | ||
370 | "123\nZZZ\nasd\n""ZZZ\n" \ | ||
371 | "" \ | ||
372 | "123\nqwe\nasd\n" | ||
373 | |||
368 | # testing "description" "commands" "result" "infile" "stdin" | 374 | # testing "description" "commands" "result" "infile" "stdin" |
369 | 375 | ||
370 | exit $FAILCOUNT | 376 | exit $FAILCOUNT |