aboutsummaryrefslogtreecommitdiff
path: root/elf/Makefile
diff options
context:
space:
mode:
authorAlexandra Hájková <ahajkova@redhat.com>2019-05-09 13:51:40 +0200
committerAlexandra Hájková <ahajkova@redhat.com>2019-05-23 11:49:44 +0200
commit481c30cb9573a280649fbf27251e6a0f4af1b2b1 (patch)
tree64ece1a10542c4cba311ec77c0ff0b4922c07b7f /elf/Makefile
parentcb755eede7abad9515d2194313ae3f9e1011791d (diff)
downloadglibc-481c30cb9573a280649fbf27251e6a0f4af1b2b1.tar
glibc-481c30cb9573a280649fbf27251e6a0f4af1b2b1.tar.gz
glibc-481c30cb9573a280649fbf27251e6a0f4af1b2b1.tar.bz2
glibc-481c30cb9573a280649fbf27251e6a0f4af1b2b1.zip
elf: Add tst-ldconfig-bad-aux-cache test [BZ #18093]
This test corrupts /var/cache/ldconfig/aux-cache and executes ldconfig to check it will not segfault using the corrupted aux_cache. The test uses the test-in-container framework. Verified no regressions on x86_64.
Diffstat (limited to 'elf/Makefile')
-rw-r--r--elf/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/elf/Makefile b/elf/Makefile
index 4895489208..08e2f999bf 100644
--- a/elf/Makefile
+++ b/elf/Makefile
@@ -156,6 +156,9 @@ tests-static-internal := tst-tls1-static tst-tls2-static \
CRT-tst-tls1-static-non-pie := $(csu-objpfx)crt1.o
tst-tls1-static-non-pie-no-pie = yes
+tests-container = \
+ tst-ldconfig-bad-aux-cache
+
tests := tst-tls9 tst-leaks1 \
tst-array1 tst-array2 tst-array3 tst-array4 tst-array5 \
tst-auxv