11 /* Carry out *one* failing call to dlopen before starting mtrace to
12 force any one-time initialization that may happen to the
13 executable link map e.g. expansion and caching of $ORIGIN. */
14 h
= dlopen ("$ORIGIN/tst-leaks1.o", RTLD_LAZY
);
17 puts ("dlopen unexpectedly succeeded");
22 /* Start tracing and run each test 5 times to see if there are any
23 leaks in the failing dlopen. */
26 for (int i
= 0; i
< 10; i
++)
30 : "$ORIGIN/tst-leaks1.o", RTLD_LAZY
);
33 puts ("dlopen unexpectedly succeeded");
42 #include <support/test-driver.c>