Fix issue with massive parallele check
This commit is contained in:
1 parent
cefa0ac589
commit
a07d71274a
9 files changed
+29
-29
No files matched your search
+2
-2
@@ -78,12 +78,12 @@ static void check_io(void)
|
||||
pair_str_get_str(s, pair, false);
|
||||
assert(string_cmp_str(s, "(\"Hello\",\"World\")") == 0);
|
||||
|
||||
FILE *f = fopen("a.dat", "wt");
|
||||
FILE *f = fopen("a-mtuple.dat", "wt");
|
||||
if (!f) abort();
|
||||
pair_str_out_str(f, pair);
|
||||
fclose(f);
|
||||
|
||||
f = fopen("a.dat", "rt");
|
||||
f = fopen("a-mtuple.dat", "rt");
|
||||
if (!f) abort();
|
||||
bool b = pair_str_in_str(pair2, f);
|
||||
assert (b);
|
||||
|
||||
Reference in new issue
Block a user