Home | History | Annotate | Download | only in tests

Lines Matching full:exec

14       if (child == 0) {exec_call; perror ("exec failed");} \
20 void test_allexec (char *exec)
22 FORKEXECWAIT (execlp(exec, exec, NULL));
23 FORKEXECWAIT (execlp(exec, exec, "constant_arg1", "constant_arg2", NULL));
24 FORKEXECWAIT (execve(exec, NULL, environ));
28 /* If a single argument "exec" is given, will execute itself
29 (in bi-arch, a 32 bit and 64 bit variant) via various exec system calls.
38 if ( (argc == 2) && (strcmp (argv[1], "exec") == 0)) {
39 S("%s will exec ./allexec32\n", argv[0]);
41 S("%s will exec ./allexec64\n", argv[0]);
45 S("program exec-ed:");