aboutsummaryrefslogtreecommitdiff
path: root/testsuite/sed.tests
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/sed.tests')
-rwxr-xr-xtestsuite/sed.tests5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/sed.tests b/testsuite/sed.tests
index 8af156ae9..677303be1 100755
--- a/testsuite/sed.tests
+++ b/testsuite/sed.tests
@@ -220,4 +220,9 @@ testing "sed d does not break n,regex matching #2" \
220 "second2\nthird2\n" "" \ 220 "second2\nthird2\n" "" \
221 "first\nsecond\nthird\nfourth\n""first2\nsecond2\nthird2\nfourth2\n" 221 "first\nsecond\nthird\nfourth\n""first2\nsecond2\nthird2\nfourth2\n"
222 222
223testing "sed 2d;2,1p (gnu compat)" \
224 "sed -n '2d;2,1p'" \
225 "third\n" "" \
226 "first\nsecond\nthird\nfourth\n"
227
223exit $FAILCOUNT 228exit $FAILCOUNT