diff options
author | Jim Meyering <meyering@fb.com> | 2017-03-01 20:58:09 -0800 |
---|---|---|
committer | Assaf Gordon <assafgordon@gmail.com> | 2017-05-10 02:02:28 +0000 |
commit | 67ac77859970cef3f0eb79328a563481c0e7b397 (patch) | |
tree | 0c0647ee72ad0e58000f4747527978afeb356778 /testsuite/misc.pl | |
parent | 41da447bbc9b6c4c3821772fec59adf3d358e19e (diff) | |
download | sed-67ac77859970cef3f0eb79328a563481c0e7b397.tar.gz |
tests: convert "y-zero" test to new framework
* testsuite/misc.pl (Tests): Add y-zero.
* testsuite/y-zero.good: Delete file.
* testsuite/y-zero.inp: Likewise.
* testsuite/y-zero.sed: Likewise.
* testsuite/local.mk (EXTRA_DIST): Remove their names.
(SEDTESTS): Remove "y-zero".
Diffstat (limited to 'testsuite/misc.pl')
-rw-r--r-- | testsuite/misc.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/misc.pl b/testsuite/misc.pl index 622a5d5..282c8c2 100644 --- a/testsuite/misc.pl +++ b/testsuite/misc.pl @@ -57,6 +57,11 @@ my @Tests = {OUT=> "Are you sure (y/n)? y]\n" }, ], + ['y-zero', q('y/b/\x00/'), + {IN => "abc\n" }, + {OUT=> "a\0c\n" }, + ], + ); my $save_temps = $ENV{SAVE_TEMPS}; |