Fix issue with massive parallele check

This commit is contained in:
Patrick Pelissier committed 2017-10-25 21:46:54 +02:00
1 parent cefa0ac589
commit a07d71274a
9 files changed
+29 -29

No files matched your search

+4 -4
View File
@@ -177,12 +177,12 @@ static void test_mpz(void)
mpz_init (z);
// Test empty
FILE *f = fopen ("a.dat", "wt");
FILE *f = fopen ("a-marray.dat", "wt");
if (!f) abort();
array_mpz_out_str(f, array1);
fclose (f);
f = fopen ("a.dat", "rt");
f = fopen ("a-marray.dat", "rt");
if (!f) abort();
bool b = array_mpz_in_str (array2, f);
assert (b == true);
@@ -195,12 +195,12 @@ static void test_mpz(void)
array_mpz_push_back (array1, z);
}
f = fopen ("a.dat", "wt");
f = fopen ("a-marray.dat", "wt");
if (!f) abort();
array_mpz_out_str(f, array1);
fclose (f);
f = fopen ("a.dat", "rt");
f = fopen ("a-marray.dat", "rt");
if (!f) abort();
b = array_mpz_in_str (array2, f);
assert (b == true);