Home | History | Annotate | Download | only in tests
      1 #include <assert.h>
      2 #include <unistd.h>
      3 
      4 int main ( int argc, char** argv, char** envp )
      5 {
      6    char* null_filename = NULL;
      7 
      8    execve(null_filename,      NULL, NULL);
      9    execve("../../tests/true", NULL, envp);
     10    assert(0);  // shouldn't get here
     11 }
     12