Sign in
ara-mdk
/
platform
/
external
/
valgrind
/
f48cb71993c864a4cedb83fe0d5c3df98c48d426
/
.
/
main
/
memcheck
/
tests
/
execve2.c
blob: b3d44ecdc20203c670251e89a2dbaede55961400 [
file
] [
log
] [
blame
]
#include
<assert.h>
#include
<unistd.h>
int
main
(
int
argc
,
char
**
argv
,
char
**
envp
)
{
char
*
null_filename
=
NULL
;
execve
(
null_filename
,
NULL
,
NULL
);
execve
(
"../../tests/true"
,
NULL
,
envp
);
assert
(
0
);
// shouldn't get here
}