]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix stdlib/test-dlclose-exit-race to not hang
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Wed, 13 Apr 2022 07:18:10 +0000 (08:18 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Fri, 5 Aug 2022 18:45:19 +0000 (19:45 +0100)
stdlib/test-dlclose-exit-race.c

index 91613116bbe7d9bb6013784d25f4ae6b1b040dd1..260f7c9e0586bebd748fbc0a6d22189d7997159e 100644 (file)
@@ -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 <support/test-driver.c>