diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-09 19:35:52 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-10-09 19:35:52 +0200 |
commit | 4dc1e6e42f1f602e1d2227e112f2db8dce9da763 (patch) | |
tree | ab9e005fda642fa7611db77d5328b55322888ad1 /elf/tst-dlmopen1.c | |
parent | 116f7463e46f3ea01217b458137e019a237d3e5f (diff) | |
parent | 6772d640a4f4874166a61f1859e1660a2913a89d (diff) |
Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into t/hurdsig-global-dispositions
Diffstat (limited to 'elf/tst-dlmopen1.c')
-rw-r--r-- | elf/tst-dlmopen1.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/elf/tst-dlmopen1.c b/elf/tst-dlmopen1.c index 9839267d8f..5a05891846 100644 --- a/elf/tst-dlmopen1.c +++ b/elf/tst-dlmopen1.c @@ -2,6 +2,7 @@ #include <stdio.h> #include <gnu/lib-names.h> +#define TEST_SO "$ORIGIN/tst-dlmopen1mod.so" static int do_test (void) @@ -34,7 +35,7 @@ do_test (void) return 1; } - h = dlmopen (LM_ID_NEWLM, "$ORIGIN/tst-dlmopen1mod.so", RTLD_LAZY); + h = dlmopen (LM_ID_NEWLM, TEST_SO, RTLD_LAZY); if (h == NULL) { printf ("cannot get handle for %s: %s\n", @@ -52,7 +53,7 @@ do_test (void) if (ns == LM_ID_BASE) { - printf ("namespace for %s is LM_ID_BASE\n", LIBC_SO); + printf ("namespace for %s is LM_ID_BASE\n", TEST_SO); return 1; } @@ -69,7 +70,7 @@ do_test (void) if (dlclose (h) != 0) { printf ("dlclose for %s in %s failed: %s\n", - LIBC_SO, __func__, dlerror ()); + TEST_SO, __func__, dlerror ()); return 1; } |