diff options
author | jlh <jlh@FreeBSD.org> | 2015-01-10 10:16:22 +0000 |
---|---|---|
committer | jlh <jlh@FreeBSD.org> | 2015-01-10 10:16:22 +0000 |
commit | 0a9f24e1b998314e1c92737e36f18579457531b7 (patch) | |
tree | a1430282ed568d0b845f42977a972f0de22a43aa /usr.bin/sed | |
parent | e280c0137936ea074447089bf6e65af201abeee9 (diff) | |
download | FreeBSD-src-0a9f24e1b998314e1c92737e36f18579457531b7.zip FreeBSD-src-0a9f24e1b998314e1c92737e36f18579457531b7.tar.gz |
Add a regression test for PR 192108.
I won't go through the hassle of MFCing it since I expect all changes to go
first through HEAD anyway.
PR: 192108
Diffstat (limited to 'usr.bin/sed')
-rw-r--r-- | usr.bin/sed/tests/multi_test.sh | 4 | ||||
-rw-r--r-- | usr.bin/sed/tests/regress.multitest.out/2.23 | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/sed/tests/multi_test.sh b/usr.bin/sed/tests/multi_test.sh index d821832..66207a6 100644 --- a/usr.bin/sed/tests/multi_test.sh +++ b/usr.bin/sed/tests/multi_test.sh @@ -51,7 +51,7 @@ main() awk 'END { for (i = 1; i < 15; i++) print "l1_" i}' </dev/null >lines1 awk 'END { for (i = 1; i < 10; i++) print "l2_" i}' </dev/null >lines2 - echo "1..129" + echo "1..130" exec 4>&1 5>&2 tests @@ -181,6 +181,8 @@ hello' /dev/null mark '2.20' ; $SED -n '/l1_7/,3p' lines1 lines2 mark '2.21' ; $SED -n '13,+4p' lines1 lines2 mark '2.22' ; $SED -n '/l1_6/,+2p' lines1 lines2 + # For PR bin/192108 + mark '2.23'; $SED -n '12,+1p' lines1 } test_group() diff --git a/usr.bin/sed/tests/regress.multitest.out/2.23 b/usr.bin/sed/tests/regress.multitest.out/2.23 new file mode 100644 index 0000000..543c057 --- /dev/null +++ b/usr.bin/sed/tests/regress.multitest.out/2.23 @@ -0,0 +1,2 @@ +l1_12 +l1_13 |