diff options
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-x | testsuite/sed.tests | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests index 88b9c4e4b..3301a25f8 100755 --- a/testsuite/sed.tests +++ b/testsuite/sed.tests | |||
@@ -270,6 +270,11 @@ testing "sed a cmd ended by double backslash" \ | |||
270 | | two \\ | 270 | | two \\ |
271 | ' | 271 | ' |
272 | 272 | ||
273 | # fisrt three lines are deleted; 4th line is matched and printed by "2,3" and by "4" ranges | ||
274 | testing "sed with N skipping lines past ranges on next cmds" \ | ||
275 | "sed -n '1{N;N;d};1p;2,3p;3p;4p'" \ | ||
276 | "4\n4\n" "" "1\n2\n3\n4\n" | ||
277 | |||
273 | # testing "description" "arguments" "result" "infile" "stdin" | 278 | # testing "description" "arguments" "result" "infile" "stdin" |
274 | 279 | ||
275 | exit $FAILCOUNT | 280 | exit $FAILCOUNT |