Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/execve/
Dexecve02.c48 #define TEST_APP "execve_child" macro
58 char *argv[2] = {TEST_APP, NULL}; in do_child()
62 TEST(execve(TEST_APP, argv, NULL)); in do_child()
107 if (tst_get_path(TEST_APP, path, sizeof(path))) { in setup()
109 "Couldn't found "TEST_APP" binary in $PATH"); in setup()
115 SAFE_CHMOD(cleanup, TEST_APP, 0700); in setup()
Dexecve04.c41 #define TEST_APP "execve_child" macro
54 char *argv[2] = {TEST_APP, NULL}; in main()
79 TEST(execve(TEST_APP, argv, env)); in main()
98 if (tst_get_path(TEST_APP, path, sizeof(path))) { in setup()
100 "Couldn't found "TEST_APP" binary in $PATH"); in setup()
123 if ((fd = open(TEST_APP, O_WRONLY)) == -1) { in do_child()
/external/ltp/testcases/kernel/syscalls/creat/
Dcreat07.c33 #define TEST_APP "creat07_child" macro
41 char *av[] = {TEST_APP, NULL}; in verify_creat()
42 (void)execve(TEST_APP, av, tst_ipc_envp); in verify_creat()
49 TEST(creat(TEST_APP, O_WRONLY)); in verify_creat()
66 TEST_APP,
/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()