summaryrefslogtreecommitdiff
path: root/REORG.TODO/elf/tst-audit9.c
diff options
context:
space:
mode:
Diffstat (limited to 'REORG.TODO/elf/tst-audit9.c')
-rw-r--r--REORG.TODO/elf/tst-audit9.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/REORG.TODO/elf/tst-audit9.c b/REORG.TODO/elf/tst-audit9.c
new file mode 100644
index 0000000000..b9de1bf5a2
--- /dev/null
+++ b/REORG.TODO/elf/tst-audit9.c
@@ -0,0 +1,11 @@
+#include <dlfcn.h>
+
+static int
+do_test (void)
+{
+ void *h = dlopen("$ORIGIN/tst-auditmod9b.so", RTLD_LAZY);
+ int (*fp)(void) = dlsym(h, "f");
+ return fp() - 1;
+}
+
+#include <support/test-driver.c>