Fix 64-bit uncleanness in VG_(get_bbs_translated)/VG_(get_bbs_discarded_or_dumped) ..
[valgrind.git] / memcheck / tests / execve2.c
bloba5d80f11f85ae05de9736beb83ed2ec6756dbd04
1 #include <assert.h>
2 #include <unistd.h>
4 int main ( int argc, char** argv, char** envp )
6 char* null_filename = NULL;
7 char *const argv_exe[] = {"true", NULL};
9 execve(null_filename, NULL, NULL);
10 // Solaris requires non-NULL argv param (this is not necessary on Linux)
11 execve("../../tests/true", argv_exe, envp);
12 assert(0); // shouldn't get here