summaryrefslogtreecommitdiff
path: root/testsuite/misc.pl
diff options
context:
space:
mode:
authorAssaf Gordon <assafgordon@gmail.com>2017-04-10 04:06:58 +0000
committerAssaf Gordon <assafgordon@gmail.com>2017-05-10 21:37:20 -0400
commit901700295aa5aee6236e719686ea2263428734a5 (patch)
tree45d91b169d53b68b48bc858bcce2b203b2c9e2d4 /testsuite/misc.pl
parent628f37dba22cad1ddf1b6d83ddac4734f9f249aa (diff)
downloadsed-901700295aa5aee6236e719686ea2263428734a5.tar.gz
tests: convert "numsub3" test to new framework
* testsuite/misc.pl (Tests): Add numsub3. * testsuite/numsub3.good: Delete file. * testsuite/numsub3.inp: Likewise. * testsuite/numsub3.sed: Likewise. * testsuite/local.mk (EXTRA_DIST): Remove their names. (SEDTESTS): Remove "numsub3".
Diffstat (limited to 'testsuite/misc.pl')
-rw-r--r--testsuite/misc.pl7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/misc.pl b/testsuite/misc.pl
index d388a96..f25f236 100644
--- a/testsuite/misc.pl
+++ b/testsuite/misc.pl
@@ -898,6 +898,13 @@ s/$/Y/mg
],
+ ['numsub3',
+ qw(-n -e 's/^a*/b/2'),
+ {IN => "\n"},
+ {OUT => ""}
+ ],
+
+
['xabcx',
# from the ChangeLog (Fri May 21 1993)
# Regex address with custom character (\xREGEXx)