diff options
Diffstat (limited to 'test/unit/tsd.c')
| -rw-r--r-- | test/unit/tsd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/tsd.c b/test/unit/tsd.c index 8be787f..7dde4b7 100644 --- a/test/unit/tsd.c +++ b/test/unit/tsd.c @@ -99,6 +99,11 @@ int main(void) { + /* Core tsd bootstrapping must happen prior to data_tsd_boot(). */ + if (nallocx(1, 0) == 0) { + malloc_printf("Initialization error"); + return (test_status_fail); + } data_tsd_boot(); return (test( |
