mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-21 03:12:48 +02:00
*** empty log message ***
This commit is contained in:
@@ -81,6 +81,17 @@ sub test_vector
|
||||
}
|
||||
}
|
||||
|
||||
# Generate a negated and a double-negated version of each test.
|
||||
# There are a few exceptions.
|
||||
my %not_invertible = map {$_ => 1} qw (1a inv-1 t1);
|
||||
foreach $t (@tvec)
|
||||
{
|
||||
my ($test_name, $flags, $in, $exp, $ret) = @$t;
|
||||
next if $not_invertible{$test_name};
|
||||
push (@tv, ["N-$test_name", "! '(' $flags ')'", $in, $exp, 1 - $ret]);
|
||||
push (@tv, ["NN-$test_name", "! ! '(' $flags ')'", $in, $exp, $ret]);
|
||||
}
|
||||
|
||||
return (@tv, @tvec);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user