Don't do reentrant testing in junk tests.

This commit is contained in:
David Goldblatt 2020-04-07 11:12:53 -07:00 committed by David Goldblatt
parent ce17af4221
commit 8da6676a02

View File

@ -185,7 +185,11 @@ int
main(void) {
junk_alloc_callback = &test_junk;
junk_free_callback = &test_junk;
return test(
/*
* We check the last pointer junked. If a reentrant call happens, that
* might be an internal allocation.
*/
return test_no_reentrancy(
test_junk_alloc_free,
test_realloc_expand);
}