diff options
author | Florian Weimer <fweimer@redhat.com> | 2023-07-06 19:24:33 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2023-07-06 19:24:33 +0200 |
commit | fb45e0aca9d0bf43d3086fc28e9e5bc66fe6500b (patch) | |
tree | c36707fe2c170e8c43161799fc307a0f3119264e /sysdeps/pthread/Makefile | |
parent | e18c293af0ece38921ad71fbd76ff8049c3b2d67 (diff) | |
download | glibc-fb45e0aca9d0bf43d3086fc28e9e5bc66fe6500b.tar.gz glibc-fb45e0aca9d0bf43d3086fc28e9e5bc66fe6500b.tar.xz glibc-fb45e0aca9d0bf43d3086fc28e9e5bc66fe6500b.zip |
Test case for bug 30619 fw/bug30619
Diffstat (limited to 'sysdeps/pthread/Makefile')
-rw-r--r-- | sysdeps/pthread/Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sysdeps/pthread/Makefile b/sysdeps/pthread/Makefile index 32cf4eb119..38b0a66d3c 100644 --- a/sysdeps/pthread/Makefile +++ b/sysdeps/pthread/Makefile @@ -335,6 +335,7 @@ tests += \ tst-atfork3 \ tst-atfork4 \ tst-create1 \ + tst-thread-dlopen-fork \ tst-fini1 \ tst-pt-tls4 \ # tests @@ -351,6 +352,7 @@ modules-names += \ tst-atfork3mod \ tst-atfork4mod \ tst-create1mod \ + tst-thread-dlopen-fork-mod \ tst-fini1mod \ tst-tls4moda \ tst-tls4modb \ @@ -525,4 +527,11 @@ LDFLAGS-tst-create1 = -Wl,-export-dynamic $(objpfx)tst-create1: $(shared-thread-library) $(objpfx)tst-create1.out: $(objpfx)tst-create1mod.so +# Create multiple shared objects to be used by the test. +tst-thread-dlopen-fork.sos := \ + $(patsubst %,$(objpfx)tst-thread-dlopen-fork-mod-%.so,$(shell seq 0 16)) +$(tst-thread-dlopen-fork.sos): $(objpfx)tst-thread-dlopen-fork-mod.so + cp -f $< $@ +$(objpfx)tst-thread-dlopen-fork.out: $(tst-thread-dlopen-fork.sos) + endif |