[glibc/arm/morello/main] Fix stdlib/test-dlclose-exit-race to not hang
Szabolcs Nagy
nsz@sourceware.org
Fri Aug 5 19:29:25 GMT 2022
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=14c8e3a355f872745e568c3e852e974f1dad11d3
commit 14c8e3a355f872745e568c3e852e974f1dad11d3
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date: Wed Apr 13 08:18:10 2022 +0100
Fix stdlib/test-dlclose-exit-race to not hang
Diff:
---
stdlib/test-dlclose-exit-race.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/stdlib/test-dlclose-exit-race.c b/stdlib/test-dlclose-exit-race.c
index 91613116bb..260f7c9e05 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 <support/test-driver.c>
More information about the Glibc-cvs
mailing list