From 7862ff8e699ca8f605b832c6e529f5b10e678edd Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Fri, 21 May 2021 22:35:00 +0200 Subject: elf: Use custom NODELETE DSO for tst-dlopenfail, tst-dlopenfail-2 Once libpthread is empty and no longer marked NODELETE, it no longer can be used for testing. Reviewed-by: Adhemerval Zanella --- elf/tst-dlopenfail-2.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'elf/tst-dlopenfail-2.c') diff --git a/elf/tst-dlopenfail-2.c b/elf/tst-dlopenfail-2.c index 50eed81..168c4b2 100644 --- a/elf/tst-dlopenfail-2.c +++ b/elf/tst-dlopenfail-2.c @@ -28,10 +28,7 @@ static int do_test (void) { - /* This test uses libpthread as the canonical NODELETE module. If - libpthread is no longer NODELETE because it has been merged into - libc, the test needs to be updated. */ - TEST_VERIFY (dlsym (NULL, "pthread_create") == NULL); + TEST_VERIFY (dlsym (NULL, "no_delete_mod_function") == NULL); /* This is expected to fail because of the missing dependency. */ puts ("info: attempting to load tst-dlopenfailmod1.so"); -- cgit v1.1