Home
last modified time | relevance | path

Searched refs:SAFE_CHDIR (Results 1 – 23 of 23) sorted by relevance

/external/ltp/testcases/kernel/syscalls/getcwd/
Dgetcwd03.c38 SAFE_CHDIR(dir); in verify_getcwd()
47 SAFE_CHDIR(".."); in verify_getcwd()
48 SAFE_CHDIR(dir_link); in verify_getcwd()
64 SAFE_CHDIR(".."); in verify_getcwd()
Dgetcwd02.c97 SAFE_CHDIR(tmpdir); in setup()
/external/ltp/testcases/kernel/controllers/cgroup_xattr/
Dcgroup_xattr.c194 SAFE_CHDIR(cleanup, cgrp_opt[i].dir); in test_run()
203 SAFE_CHDIR(cleanup, ".."); in test_run()
233 SAFE_CHDIR(NULL, cwd); in cleanup()
238 SAFE_CHDIR(NULL, cgrp_opt[i].dir); in cleanup()
240 SAFE_CHDIR(NULL, ".."); in cleanup()
321 SAFE_CHDIR(cleanup, opt->dir); in mount_cgroup()
324 SAFE_CHDIR(cleanup, ".."); in mount_cgroup()
405 SAFE_CHDIR(cleanup, path); in cgrp_files_walking()
436 SAFE_CHDIR(cleanup, ".."); in cgrp_files_walking()
/external/ltp/testcases/kernel/syscalls/open/
Dopen14.c138 SAFE_CHDIR(cleanup, path); in test02()
145 SAFE_CHDIR(cleanup, ".."); in test02()
192 SAFE_CHDIR(cleanup, path); in test03()
222 SAFE_CHDIR(cleanup, ".."); in test03()
/external/ltp/testcases/kernel/syscalls/openat/
Dopenat03.c149 SAFE_CHDIR(cleanup, path); in test02()
156 SAFE_CHDIR(cleanup, ".."); in test02()
203 SAFE_CHDIR(cleanup, path); in test03()
233 SAFE_CHDIR(cleanup, ".."); in test03()
/external/ltp/testcases/kernel/syscalls/chdir/
Dchdir01.c86 SAFE_CHDIR(cleanup, testdir); in main()
112 SAFE_CHDIR(cleanup, ".."); in main()
/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod03.c172 SAFE_CHDIR(cleanup, ".."); in main()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod08.c173 SAFE_CHDIR(cleanup, ".."); in main()
269 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod05.c174 SAFE_CHDIR(cleanup, ".."); in main()
252 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod02.c176 SAFE_CHDIR(cleanup, ".."); in main()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
Dmknod04.c175 SAFE_CHDIR(cleanup, ".."); in main()
274 SAFE_CHDIR(cleanup, DIR_TEMP); in setup()
/external/ltp/lib/newlib_tests/
Dtest03.c14 SAFE_CHDIR("nonexistent"); in do_test()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify09.c244 SAFE_CHDIR(MOUNT_NAME); in setup()
255 SAFE_CHDIR("../"); in cleanup()
/external/ltp/lib/
Dself_exec.c156 SAFE_CHDIR(NULL, child_dir); in maybe_run_child()
/external/ltp/testcases/kernel/syscalls/mmap/
Dmmap16.c173 SAFE_CHDIR(cleanup, MNTPOINT); in setup()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone02.c254 SAFE_CHDIR(cleanup, cwd_parent); in test_cleanup()
/external/ltp/testcases/kernel/fs/ftest/
Dftest05.c141 SAFE_CHDIR(NULL, fuss); in setup()
Dftest01.c133 SAFE_CHDIR(NULL, fuss); in setup()
Dftest03.c153 SAFE_CHDIR(NULL, fuss); in setup()
Dftest07.c156 SAFE_CHDIR(NULL, fuss); in setup()
/external/ltp/include/old/
Dsafe_macros.h26 #define SAFE_CHDIR(cleanup_fn, path) \ macro
/external/ltp/include/
Dtst_safe_macros.h41 #define SAFE_CHDIR(path) \ macro
/external/ltp/testcases/network/netstress/
Dnetstress.c689 SAFE_CHDIR(server_bg); in server_init()