repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tst-leaks: raise timeout to 5 seconds
[glibc.git]
/
elf
/
tst-audit9.c
blob
7b90a5ad2d9fd1817bc508d0141a736879bb4d40
1
#include <dlfcn.h>
2
3
static int
4
do_test
(
void
)
5
{
6
void
*
h
=
dlopen
(
"$ORIGIN/tst-auditmod9b.so"
,
RTLD_LAZY
);
7
int
(*
fp
)(
void
) =
dlsym
(
h
,
"f"
);
8
return
fp
() -
1
;
9
}
10
11
#define TEST_FUNCTION do_test ()
12
#include
"../test-skeleton.c"