Home
last modified time | relevance | path

Searched refs:TEST_APP (Results 1 – 9 of 9) sorted by relevance

/external/ltp/testcases/kernel/syscalls/execveat/
Dexecveat01.c31 #define TEST_APP "execveat_child" macro
32 #define TEST_REL_APP TESTDIR"/"TEST_APP
43 {&fd1, TEST_APP, 0},
52 char *argv[2] = {TEST_APP, NULL}; in verify_execveat()
69 SAFE_CP(TEST_APP, TEST_REL_APP); in setup()
88 TEST_APP,
Dexecveat02.c29 #define TEST_APP "execveat_errno" macro
31 #define TEST_REL_APP TESTDIR"/"TEST_APP
52 char *argv[2] = {TEST_APP, NULL}; in verify_execveat()
77 SAFE_CP(TEST_APP, TEST_REL_APP); in setup()
89 TEST_APP,
Dexecveat03.c59 #define TEST_APP "execveat_child" macro
60 #define TEST_FILE_PATH OVL_MNT"/"TEST_APP
69 SAFE_CP(TEST_APP, TEST_FILE_PATH); in do_child()
117 TEST_APP,
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat07.c33 #define TEST_APP "creat07_child" macro
41 SAFE_EXECL(TEST_APP, TEST_APP, NULL); in verify_creat()
47 TEST(creat(TEST_APP, O_WRONLY)); in verify_creat()
64 TEST_APP,
/external/ltp/testcases/kernel/syscalls/execve/
Dexecve04.c42 #define TEST_APP "execve_child" macro
49 char *argv[2] = {TEST_APP, NULL}; in verify_execve()
57 TEST(execve(TEST_APP, argv, environ)); in verify_execve()
69 int fd = SAFE_OPEN(TEST_APP, O_WRONLY); in do_child()
79 TEST_APP,
Dexecve02.c43 #define TEST_APP "execve_child" macro
50 char *argv[2] = {TEST_APP, NULL}; in do_child()
58 TEST(execve(TEST_APP, argv, environ)); in do_child()
83 SAFE_CHMOD(TEST_APP, 0700); in setup()
90 TEST_APP,
Dexecve05.c53 #define TEST_APP "execve_child" macro
64 TEST_APP,
70 char *argv[3] = {TEST_APP, "canary", NULL}; in do_child()
74 TEST(execve(TEST_APP, argv, environ)); in do_child()
/external/ltp/testcases/kernel/syscalls/setpgid/
Dsetpgid03.c41 #define TEST_APP "setpgid03_child" macro
104 if (execlp(TEST_APP, TEST_APP, NULL) < 0) in main()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat02.c54 #define TEST_APP "openat02_child" macro
169 if (execlp(TEST_APP, TEST_APP, buf, NULL)) in testfunc_cloexec()