tests: convert "y-newline" test to new framework
* testsuite/misc.pl (Tests): Add y-newline. * testsuite/y-newline.good: Delete file. * testsuite/y-newline.inp: Likewise. * testsuite/y-newline.sed: Likewise. * testsuite/local.mk (EXTRA_DIST): Remove their names. (SEDTESTS): Remove "y-newline".
This commit is contained in:
1 parent
67ac778599
commit
5cd810a5d3
5 files changed
+9
-10
No files matched your search
+2
-5
@@ -118,7 +118,7 @@ SEDTESTS += testsuite/appquit testsuite/enable testsuite/sep \
|
||||
testsuite/fasts testsuite/uniq testsuite/manis \
|
||||
testsuite/khadafy testsuite/linecnt testsuite/eval \
|
||||
testsuite/distrib testsuite/8to7 \
|
||||
testsuite/y-newline testsuite/allsub \
|
||||
testsuite/allsub \
|
||||
testsuite/cv-vars testsuite/classes testsuite/middle \
|
||||
testsuite/bsd testsuite/stdin testsuite/flipcase \
|
||||
testsuite/subwrite testsuite/writeout \
|
||||
@@ -356,10 +356,7 @@ EXTRA_DIST += \
|
||||
testsuite/xbxcx3.sed \
|
||||
testsuite/xemacs.good \
|
||||
testsuite/xemacs.inp \
|
||||
testsuite/xemacs.sed \
|
||||
testsuite/y-newline.good \
|
||||
testsuite/y-newline.sed \
|
||||
testsuite/y-newline.inp
|
||||
testsuite/xemacs.sed
|
||||
|
||||
# automake makes `check' depend on $(TESTS). Declare
|
||||
# dummy targets for $(TESTS) so that make does not complain.
|
||||
|
||||
@@ -62,6 +62,13 @@ my @Tests =
|
||||
{OUT=> "a\0c\n" },
|
||||
],
|
||||
|
||||
['y-newline', q('H
|
||||
G
|
||||
y/Ss\nYy/yY$sS/'),
|
||||
{IN => "Are you sure (y/n)? [y]\n" },
|
||||
{OUT=> 'Are Sou Yure (S/n)? [S]$$Are Sou Yure (S/n)? [S]'."\n"},
|
||||
],
|
||||
|
||||
);
|
||||
|
||||
my $save_temps = $ENV{SAVE_TEMPS};
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
Are Sou Yure (S/n)? [S]$$Are Sou Yure (S/n)? [S]
|
||||
@@ -1 +0,0 @@
|
||||
Are you sure (y/n)? [y]
|
||||
@@ -1,3 +0,0 @@
|
||||
H
|
||||
G
|
||||
y/Ss\nYy/yY$sS/
|
||||
Reference in new issue
Block a user