1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-14 06:03:46 +02:00

Do each test twice: get input via REDIR and PIPE.

This commit is contained in:
Jim Meyering
1997-01-30 03:38:47 +00:00
parent 307b54a273
commit 944b08f293
+7 -3
View File
@@ -81,9 +81,6 @@ my @tv = (
['rep-3', q|'a[b*513]c' '1[x*]2'|, 'abc', '1x2', 0],
['esc', q|'a\-z' 'A-Z'|, 'abc-z', 'AbcBC', 0],
#
# From Ross
['ross-0a', '-cs ' . q|'[:upper:]' 'X[Y*]'|, '', '', 1],
@@ -100,6 +97,13 @@ my @tv = (
sub test_vector
{
my $t;
foreach $t (@tv)
{
my ($test_name, $flags, $in, $exp, $ret) = @$t;
$Test::input_via{$test_name} = {REDIR => 0, PIPE => 0};
}
return @tv;
}