diff options
author | Alexandra Hájková <ahajkova@redhat.com> | 2020-01-09 20:44:34 +0100 |
---|---|---|
committer | Alexandra Hájková <ahajkova@redhat.com> | 2020-01-09 20:47:19 +0100 |
commit | 591236f1a33f11cc65ccf009d997071ba853e186 (patch) | |
tree | eb1c6f82e80ae03c14df214a8c5df250d1f3aa7c /elf/tst-ldconfig-ld-mod.c | |
parent | 521c7fc65f1f9e49dc2994d22d79e71e76a6c0c2 (diff) | |
download | glibc-591236f1a33f11cc65ccf009d997071ba853e186.tar.gz glibc-591236f1a33f11cc65ccf009d997071ba853e186.tar.xz glibc-591236f1a33f11cc65ccf009d997071ba853e186.zip |
elf: Add tst-ldconfig-ld_so_conf-update test
Test ldconfig after /etc/ld.so.conf update and verify a running process observes changes to /etc/ld.so.cache. The test uses the test-in-container framework. Reviewed-by: Arjun Shankar <arjun@redhat.com>
Diffstat (limited to 'elf/tst-ldconfig-ld-mod.c')
-rw-r--r-- | elf/tst-ldconfig-ld-mod.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/elf/tst-ldconfig-ld-mod.c b/elf/tst-ldconfig-ld-mod.c new file mode 100644 index 0000000000..f8f658d03b --- /dev/null +++ b/elf/tst-ldconfig-ld-mod.c @@ -0,0 +1,8 @@ +#include <stdio.h> +#include <stdlib.h> + +void +bar (void) +{ + printf ("Called DSO.\n"); +} |