Home
last modified time | relevance | path

Searched refs:TEST_DIR (Results 1 – 25 of 28) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify15.c42 #define TEST_DIR MOUNT_POINT"/test_dir" macro
43 #define DIR1 TEST_DIR"/dir1"
44 #define DIR2 TEST_DIR"/dir2"
45 #define FILE1 TEST_DIR"/file1"
46 #define FILE2 TEST_DIR"/file2"
91 AT_FDCWD, TEST_DIR); in do_test()
94 fanotify_save_fid(TEST_DIR, &root_fid); in do_test()
184 AT_FDCWD, TEST_DIR); in do_test()
274 SAFE_MKDIR(TEST_DIR, 0755); in do_setup()
275 REQUIRE_FANOTIFY_INIT_FLAGS_SUPPORTED_ON_FS(FAN_REPORT_FID, TEST_DIR); in do_setup()
/third_party/jsoncpp/src/jsontestrunner/
DCMakeLists.txt31 set(TEST_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../../test) variable
32 set(RUNJSONTESTS_PATH ${TEST_DIR}/runjsontests.py)
37 …{PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" $<TARGET_FILE:jsontestrunner_exe> "${TEST_DIR}/data"
44 …{PYTHON_EXECUTABLE}" -B "${RUNJSONTESTS_PATH}" $<TARGET_FILE:jsontestrunner_exe> "${TEST_DIR}/data"
45 WORKING_DIRECTORY "${TEST_DIR}/data"
48 …-B "${RUNJSONTESTS_PATH}" --with-json-checker $<TARGET_FILE:jsontestrunner_exe> "${TEST_DIR}/data"
49 WORKING_DIRECTORY "${TEST_DIR}/data"
/third_party/ltp/testcases/kernel/syscalls/renameat2/
Drenameat202.c31 #define TEST_DIR "test_dir/" macro
90 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
93 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
96 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
99 SAFE_FILE_PRINTF(cleanup, TEST_DIR TEST_FILE, "%s", content); in setup()
138 emptyfile = TEST_DIR TEST_FILE; in renameat2_verify()
142 contentfile = TEST_DIR TEST_FILE; in renameat2_verify()
Drenameat201.c42 #define TEST_DIR "test_dir/" macro
112 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
115 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE, 0600, NULL); in setup()
117 SAFE_TOUCH(cleanup, TEST_DIR TEST_FILE3, 0600, NULL); in setup()
119 olddirfd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
/third_party/ltp/testcases/kernel/fs/mongo/
Dtest.sh25 TEST_DIR=testdir
61 mkdir -p $TEST_DIR
62 …gfile1 file_size=10000 bytes=100000 fstype=reiserfs dev=/dev/loop0 dir=$TEST_DIR RUN log=$LOG_DI…
77 mkdir -p $TEST_DIR
80 ./mongo.pl LOG=/tmp/logfile1 file_size=10000 bytes=100000 fstype=jfs dev=/dev/loop0 dir=$TEST_DIR
109 rm -rf $TEST_DIR
/third_party/ltp/testcases/kernel/syscalls/openat/
Dopenat01.c51 #define TEST_DIR "test_dir/" macro
65 {&fd_atcwd, TEST_DIR TEST_FILE, 0, 0}
123 SAFE_MKDIR(cleanup, TEST_DIR, 0700); in setup()
124 dir_fd = SAFE_OPEN(cleanup, TEST_DIR, O_DIRECTORY); in setup()
125 fd = SAFE_OPEN(cleanup, TEST_DIR TEST_FILE, O_CREAT | O_RDWR, 0600); in setup()
128 snprintf(glob_path, sizeof(glob_path), "%s/" TEST_DIR TEST_FILE, in setup()
/third_party/ltp/testcases/kernel/syscalls/lstat/
Dlstat02.c35 #define TEST_DIR "test_dir" macro
40 #define TEST_EACCES TEST_DIR"/test_eacces"
94 SAFE_MKDIR(TEST_DIR, MODE_RWX); in setup()
97 SAFE_CHMOD(TEST_DIR, MODE_RW0); in setup()
112 SAFE_CHMOD(TEST_DIR, MODE_RWX); in cleanup()
/third_party/libfuse/test/
Dci-build.sh16 TEST_DIR="$(mktemp -dt libfuse-build-XXXXXX)"
17 chmod 0755 "${TEST_DIR}"
18 cd "${TEST_DIR}"
19 echo "Running in ${TEST_DIR}"
105 rm -rf "${TEST_DIR}"
/third_party/python/Lib/test/
Dtest_modulefinder.py13 TEST_DIR = tempfile.mkdtemp() variable
14 TEST_PATH = [TEST_DIR, os.path.dirname(tempfile.__file__)]
316 ofi = open_file(os.path.join(TEST_DIR, line.strip()))
350 shutil.rmtree(TEST_DIR)
383 base_path = os.path.join(TEST_DIR, 'a')
393 old_path = os.path.join(TEST_DIR, 'a', 'module.py')
394 new_path = os.path.join(TEST_DIR, 'a', 'spam.py')
/third_party/ltp/testcases/kernel/syscalls/readdir/
Dreaddir21.c23 #define TEST_DIR "test_dir" macro
51 SAFE_MKDIR(TEST_DIR, DIR_MODE); in setup()
52 del_dir_fd = SAFE_OPEN(TEST_DIR, O_RDONLY | O_DIRECTORY); in setup()
53 SAFE_RMDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/inotify/
Dinotify10.c43 #define TEST_DIR "test_dir" macro
99 wd_subdir = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, TEST_DIR, tc->subdir_mask); in verify_inotify()
109 SAFE_MYINOTIFY_ADD_WATCH(fd_notify_other, TEST_DIR, tc->subdir_mask_other); in verify_inotify()
117 SAFE_CHMOD(TEST_DIR, 0755); in verify_inotify()
123 strcpy(event_set[test_cnt].name, TEST_DIR); in verify_inotify()
193 SAFE_MKDIR(TEST_DIR, 00700); in setup()
Dinotify04.c44 #define TEST_DIR "test_dir" macro
84 SAFE_MKDIR(TEST_DIR, 00700); in verify_inotify()
87 wd_dir = SAFE_MYINOTIFY_ADD_WATCH(fd_notify, TEST_DIR, IN_ALL_EVENTS); in verify_inotify()
93 SAFE_RMDIR(TEST_DIR); in verify_inotify()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl38.c17 #define TEST_DIR "test_dir" macro
58 subdir_fd = SAFE_OPEN(TEST_DIR, O_RDONLY); in verify_dnotify()
64 SAFE_CHMOD(TEST_DIR, 0755); in verify_dnotify()
79 SAFE_MKDIR(TEST_DIR, 00700); in setup()
/third_party/ltp/testcases/kernel/syscalls/getdents/
Dgetdents02.c28 #define TEST_DIR "test_dir" macro
66 SAFE_MKDIR(TEST_DIR, DIR_MODE); in setup()
67 fd_unlinked = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
68 SAFE_RMDIR(TEST_DIR); in setup()
/third_party/mesa3d/.gitlab-ci/lava/
Dlava-pytest.sh29 TEST_DIR=${CI_PROJECT_DIR}/.gitlab-ci/tests
31 PYTHONPATH="${TEST_DIR}:${PYTHONPATH}" python3 -m \
32 pytest "${TEST_DIR}" \
/third_party/ltp/testcases/kernel/syscalls/fchdir/
Dfchdir01.c14 static const char *TEST_DIR = "alpha"; variable
25 SAFE_MKDIR(TEST_DIR, MODES); in setup()
26 fd = SAFE_OPEN(TEST_DIR, O_RDONLY); in setup()
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/
Dopen_by_handle_at01.c22 #define TEST_DIR "test_dir" macro
54 SAFE_MKDIR(TEST_DIR, 0700); in setup()
55 dir_fd = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
56 SAFE_CHDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/
Dname_to_handle_at01.c22 #define TEST_DIR "test_dir" macro
71 SAFE_MKDIR(TEST_DIR, 0700); in setup()
72 dir_fd = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
73 SAFE_CHDIR(TEST_DIR); in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen01.c28 #define TEST_DIR "testdir" macro
40 {TEST_DIR, O_DIRECTORY, 0, S_IFDIR, "sirectory bit"}
68 SAFE_MKDIR(TEST_DIR, 0755); in setup()
/third_party/ltp/testcases/kernel/syscalls/mkdirat/
Dmkdirat02.c17 #define TEST_DIR "mntpoint/test_dir" macro
30 {&dir_fd, TEST_DIR, EROFS},
31 {&cur_fd, TEST_DIR, EROFS},
/third_party/ltp/testcases/kernel/syscalls/readv/
Dreadv02.c32 const char *TEST_DIR = "test_dir"; variable
86 SAFE_MKDIR(TEST_DIR, MODES); in setup()
87 fd_dir = SAFE_OPEN(TEST_DIR, O_RDONLY); in setup()
/third_party/ltp/testcases/kernel/syscalls/finit_module/
Dfinit_module02.c23 #define TEST_DIR "test_dir" macro
89 SAFE_MKDIR(TEST_DIR, 0700); in setup()
90 fd_dir = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
/third_party/ltp/testcases/kernel/syscalls/openat2/
Dopenat201.c11 #define TEST_DIR "test_dir" macro
56 SAFE_MKDIR(TEST_DIR, 0700); in setup()
57 dir_fd = SAFE_OPEN(TEST_DIR, O_DIRECTORY); in setup()
/third_party/ltp/testcases/kernel/syscalls/utimensat/
Dutimensat01.c26 #define TEST_DIR MNTPOINT"/test_dir" macro
233 dfd = SAFE_OPEN(TEST_DIR, tc->oflags); in run()
271 TEST(stat(tc->pathname ? tc->pathname : TEST_DIR, &sb)); in run()
305 if (access(TEST_DIR, R_OK)) in setup()
306 SAFE_MKDIR(TEST_DIR, 0700); in setup()
/third_party/jerryscript/tools/
Dheaplimit_measure.py34 TEST_DIR = os.path.join(BASE_PATH, 'tests') variable
81 subprocess.check_output(run_cmd, cwd=TEST_DIR)

12