* elf/tst-tls13.c (do_test): Avoid using the library path when

looking for tst-tlsmod13a.so.
This commit is contained in:
Ulrich Drepper 2005-12-27 22:29:27 +00:00
parent 11f685f5d8
commit 285a709ace
2 changed files with 6 additions and 3 deletions

View file

@ -1,5 +1,8 @@
2005-12-27 Ulrich Drepper <drepper@redhat.com>
* elf/tst-tls13.c (do_test): Avoid using the library path when
looking for tst-tlsmod13a.so.
* stdio-common/tstdiomisc.c: If FLT_EVEL_METHOD is 2 use long
double math to generate NaN results.

View file

@ -2,17 +2,17 @@
#include <dlfcn.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
static int
do_test (void)
{
int i;
for (i = 0; i < 1000;)
for (int i = 0; i < 1000;)
{
printf ("round %d\n",++i);
void *h = dlopen ("tst-tlsmod13a.so", RTLD_LAZY);
void *h = dlopen ("$ORIGIN/tst-tlsmod13a.so", RTLD_LAZY);
if (h == NULL)
{
printf ("cannot load: %s\n", dlerror ());