From: Szabolcs Nagy Date: Wed, 13 Apr 2022 07:18:10 +0000 (+0100) Subject: Fix stdlib/test-dlclose-exit-race to not hang X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75c97620ccea2c579175d423e1f91610ca0a9879;p=thirdparty%2Fglibc.git Fix stdlib/test-dlclose-exit-race to not hang Use the standard wrapper that kills the test after a timeout. --- diff --git a/stdlib/test-dlclose-exit-race.c b/stdlib/test-dlclose-exit-race.c index 91613116bbe..260f7c9e058 100644 --- a/stdlib/test-dlclose-exit-race.c +++ b/stdlib/test-dlclose-exit-race.c @@ -63,7 +63,7 @@ last (void) } int -main (void) +do_test (void) { int value; void *dso; @@ -90,3 +90,5 @@ main (void) FAIL_EXIT1 ("Did not terminate via exit(0) in exit_thread() as expected."); } + +#include