1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-21 11:16:16 +02:00

tests: correctly restrict factor test without GMP

* tests/misc/factor.pl: Correct the precedence and
regular expression in the command to check for GMP.
This commit is contained in:
Pádraig Brady
2012-10-22 13:03:27 +01:00
parent 0aeaa506ad
commit 15794eab5a

View File

@@ -76,7 +76,7 @@ my @Tests =
);
# If we have GMP support, append tests to exercise it.
system "grep -w HAVE_GMP $ENV{CONFIG_HEADER} > /dev/null" == 0
(system "grep '^#define HAVE_GMP 1' $ENV{CONFIG_HEADER} > /dev/null") == 0
and push (@Tests,
['bug-gmp-2_sup_128', '340282366920938463463374607431768211456',
{OUT => '2 'x127 . '2'}],