1
0
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:
Jim Meyering
1998-06-07 14:40:04 +00:00
parent ed1fdb8841
commit 500594433a

View File

@@ -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);
}