summaryrefslogtreecommitdiff
path: root/testsuite/misc.pl
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-04-10 03:58:14 +0000
committerAssaf Gordon <assafgordon@gmail.com>2017-05-10 21:37:20 -0400
commitff1d9f9e6ee1405e2875d29fe49d81d9e35526a9 (patch)
tree1dc7571544db1c879f934a01caf284032a5898d4 /testsuite/misc.pl
parente3ca6642c6e485379cd5182b77853e6e3b0c737a (diff)
downloadsed-ff1d9f9e6ee1405e2875d29fe49d81d9e35526a9.tar.gz
tests: convert "middle" test to new framework
* testsuite/misc.pl (Tests): Add middle. * testsuite/middle.good: Delete file. * testsuite/middle.inp: Likewise. * testsuite/middle.sed: Likewise. * testsuite/local.mk (EXTRA_DIST): Remove their names. (SEDTESTS): Remove "middle".
Diffstat (limited to 'testsuite/misc.pl')
-rw-r--r--testsuite/misc.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/misc.pl b/testsuite/misc.pl
index d2d0a81..c33dd27 100644
--- a/testsuite/misc.pl
+++ b/testsuite/misc.pl
@@ -855,6 +855,26 @@ s/@@/%@/; s/@@/@%/; s/@g$/%g/
. "s\%\@EVENT_TYPE\@\%\$EVENT_TYPE\%g\n"}
],
+ ['middle',
+ qw(-n -e '3,5p'),
+ {IN => q( "...by imposing a tiny bit of order in a communication you are
+ translating, you are carving out a little bit of order in the
+ universe. You will never succeed. Everything will fail and come
+ to an end finally. But you have a chance to carve a little bit
+ of order and maybe even beauty out of the raw materials that
+ surround you everywhere, and I think there is no greater meaning
+ in life."
+
+ Donald L. Philippi, Oct 1930 - Jan 1993
+)},
+ {OUT =>
+q( universe. You will never succeed. Everything will fail and come
+ to an end finally. But you have a chance to carve a little bit
+ of order and maybe even beauty out of the raw materials that
+)}
+ ],
+
+
['xabcx',
# from the ChangeLog (Fri May 21 1993)
# Regex address with custom character (\xREGEXx)