tests: convert "sep" test to new framework
* testsuite/misc.pl (Tests): Add sep. * testsuite/sep.good: Delete file. * testsuite/sep.inp: Likewise. * testsuite/sep.sed: Likewise. * testsuite/local.mk (EXTRA_DIST): Remove their names. (SEDTESTS): Remove "sep".
This commit is contained in:
1 parent
393733a314
commit
53edb359af
5 files changed
+17
-15
No files matched your search
+1
-5
@@ -106,8 +106,7 @@ check_PROGRAMS += testsuite/bug-regex7 \
|
||||
testsuite/runptests testsuite/tst-rxspencer testsuite/tst-regex2
|
||||
endif
|
||||
|
||||
SEDTESTS += testsuite/sep \
|
||||
testsuite/8bit testsuite/newjis \
|
||||
SEDTESTS += testsuite/8bit testsuite/newjis \
|
||||
testsuite/noeolw \
|
||||
testsuite/madding testsuite/mac-mf \
|
||||
testsuite/xemacs \
|
||||
@@ -225,9 +224,6 @@ EXTRA_DIST += \
|
||||
testsuite/noeolw.1good \
|
||||
testsuite/noeolw.2good \
|
||||
testsuite/noeolw.sed \
|
||||
testsuite/sep.good \
|
||||
testsuite/sep.inp \
|
||||
testsuite/sep.sed \
|
||||
testsuite/subwrite.inp \
|
||||
testsuite/subwrite.sed \
|
||||
testsuite/subwrt1.good \
|
||||
|
||||
@@ -980,6 +980,22 @@ foo foo fo oo f oo foo foo foo foo foo foo foo foo foo foo foo foo foo
|
||||
],
|
||||
|
||||
|
||||
['sep',
|
||||
# inspired by an autoconf generated configure script.
|
||||
qw(-f),
|
||||
{IN => q(s%/[^/][^/]*$%%
|
||||
s%[\/][^\/][^\/]*$%%
|
||||
s,.*[^\/],,
|
||||
)},
|
||||
{IN => "miss mary mack mack//mack/ran down/the track track track\n"
|
||||
. "slashes\aren't%used enough/in/casual-conversation///\n"
|
||||
. "possibly sentences would be more attractive if they ended"
|
||||
. "in two slashes//\n"},
|
||||
{OUT => "\n"
|
||||
. "///\n"
|
||||
. "//\n"}
|
||||
],
|
||||
|
||||
['xabcx',
|
||||
# from the ChangeLog (Fri May 21 1993)
|
||||
# Regex address with custom character (\xREGEXx)
|
||||
|
||||
@@ -1,3 +0,0 @@
|
||||
|
||||
///
|
||||
//
|
||||
@@ -1,3 +0,0 @@
|
||||
miss mary mack mack//mack/ran down/the track track track
|
||||
slashes\aren't%used enough/in/casual-conversation///
|
||||
possibly sentences would be more attractive if they ended in two slashes//
|
||||
@@ -1,4 +0,0 @@
|
||||
# inspired by an autoconf generated configure script.
|
||||
s%/[^/][^/]*$%%
|
||||
s%[\/][^\/][^\/]*$%%
|
||||
s,.*[^\/],,
|
||||
Reference in new issue
Block a user