tests: convert "xbxcx" test to new framework

* testsuite/misc.pl (Tests): Add xbxcx.
* testsuite/xbxcx.good: Delete file.
* testsuite/xbxcx.inp: Likewise.
* testsuite/xbxcx.sed: Likewise.
* testsuite/local.mk (EXTRA_DIST): Remove their names.
(SEDTESTS): Remove "xbxcx".
This commit is contained in:
Assaf Gordon committed 2017-05-10 21:33:57 -04:00
1 parent 9785b2ae6b
commit c0a5c50492
5 files changed
+21 -20

No files matched your search

+1 -4
View File
@@ -113,7 +113,7 @@ SEDTESTS += testsuite/appquit testsuite/enable testsuite/sep \
testsuite/numsub2 testsuite/numsub3 testsuite/numsub4 \
testsuite/numsub5 testsuite/0range testsuite/bkslashes \
testsuite/madding testsuite/mac-mf \
testsuite/xbxcx testsuite/xbxcx3 \
testsuite/xbxcx3 \
testsuite/xemacs \
testsuite/fasts testsuite/uniq testsuite/manis \
testsuite/khadafy testsuite/linecnt testsuite/eval \
@@ -335,9 +335,6 @@ EXTRA_DIST += \
testsuite/xabcx.good \
testsuite/xabcx.inp \
testsuite/xabcx.sed \
testsuite/xbxcx.good \
testsuite/xbxcx.inp \
testsuite/xbxcx.sed \
testsuite/xbxcx3.good \
testsuite/xbxcx3.inp \
testsuite/xbxcx3.sed \
+20
View File
@@ -103,6 +103,26 @@ y/Ss\nYy/yY$sS/'),
{IN => "ababb||abbbabbbb\n" },
{OUT=> ">abb<||>abbbb<\n" },
],
['xbxcx',
# from the ChangeLog (Wed Sep 5 2001)
qw(-e 's/a*/x/g'),
{IN => "\n"
. "b\n"
. "bc\n"
. "bac\n"
. "baac\n"
. "baaac\n"
. "baaaac\n"},
{OUT => "x\n"
. "xbx\n"
. "xbxcx\n"
. "xbxcx\n"
. "xbxcx\n"
. "xbxcx\n"
. "xbxcx\n"}
],
);
my $save_temps = $ENV{SAVE_TEMPS};
-7
View File
@@ -1,7 +0,0 @@
x
xbx
xbxcx
xbxcx
xbxcx
xbxcx
xbxcx
-7
View File
@@ -1,7 +0,0 @@
b
bc
bac
baac
baaac
baaaac
-2
View File
@@ -1,2 +0,0 @@
# from the ChangeLog (Wed Sep 5 2001)
s/a*/x/g