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 7471ed5fc..4cdbaa687 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests | |||
@@ -201,4 +201,10 @@ testing "sed s/xxx/[/" "sed -e 's/xxx/[/'" "[\n" "" "xxx\n" | |||
201 | #testing "sed -g (exhaustive)" "sed -e 's/[[:space:]]*/,/g'" ",1,2,3,4,5," \ | 201 | #testing "sed -g (exhaustive)" "sed -e 's/[[:space:]]*/,/g'" ",1,2,3,4,5," \ |
202 | # "" "12345" | 202 | # "" "12345" |
203 | 203 | ||
204 | # testing "description" "arguments" "result" "infile" "stdin" | ||
205 | |||
206 | testing "sed n command must reset 'substituted' bit" \ | ||
207 | "sed 's/1/x/;T;n;: next;s/3/y/;t quit;n;b next;: quit;q'" \ | ||
208 | "0\nx\n2\ny\n" "" "0\n1\n2\n3\n" | ||
209 | |||
204 | exit $FAILCOUNT | 210 | exit $FAILCOUNT |