Home
last modified time | relevance | path

Searched refs:TEST_FILE2 (Results 1 – 15 of 15) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/renameat2/
Drenameat201.c46 #define TEST_FILE2 "test_file2" macro
64 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE, EEXIST},
65 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_EXCHANGE, 0},
68 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_NOREPLACE
70 {&olddirfd, TEST_FILE, &newdirfd, TEST_FILE2, RENAME_WHITEOUT
116 SAFE_TOUCH(cleanup, TEST_DIR2 TEST_FILE2, 0600, NULL); in setup()
Drenameat202.c35 #define TEST_FILE2 "test_file2" macro
68 newdirfd, TEST_FILE2, RENAME_EXCHANGE)); in main()
94 SAFE_TOUCH(cleanup, TEST_DIR2 TEST_FILE2, 0600, NULL); in setup()
139 contentfile = TEST_DIR2 TEST_FILE2; in renameat2_verify()
141 emptyfile = TEST_DIR2 TEST_FILE2; in renameat2_verify()
/third_party/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c37 #define TEST_FILE2 "test_file_2" macro
57 {TEST_FILE2, buffer, sizeof(buffer), EINVAL},
103 SAFE_TOUCH(TEST_FILE2, 0666, NULL); in setup()
104 SAFE_SYMLINK(TEST_FILE2, SYM_FILE2); in setup()
/third_party/ltp/testcases/kernel/syscalls/open/
Dopen02.c25 #define TEST_FILE2 "test_file2" macro
34 {TEST_FILE2, O_RDONLY | O_NOATIME, EPERM, "unpriviledget O_RDONLY | O_NOATIME"},
41 SAFE_TOUCH(TEST_FILE2, 0644, NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/link/
Dlink08.c29 #define TEST_FILE2 "mntpoint/file" macro
41 {TEST_FILE2, TEST_FILE, EXDEV},
42 {TEST_FILE2, TEST_FILE3, EROFS},
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown04.c47 #define TEST_FILE2 "testdir_1/tfile_2" macro
60 {TEST_FILE2, EACCES, "without full permissions of the path prefix"},
94 SAFE_TOUCH(TEST_FILE2, MODE, NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c98 #define TEST_FILE2 "tfile_2" macro
124 TEST_FILE2, SYM_FILE2, "Specified symlink already exists",
287 if ((fd = open(TEST_FILE2, O_RDWR | O_CREAT, 0666)) == -1) { in setup2()
294 SAFE_SYMLINK(cleanup, TEST_FILE2, SYM_FILE2); in setup2()
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c35 #define TEST_FILE2 "testdir_1/tfile_2" macro
58 {TEST_FILE2, FILE_MODE, EACCES, set_nobody, set_root},
121 SAFE_TOUCH(TEST_FILE2, 0666, NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/lchown/
Dlchown02.c69 #define TEST_FILE2 "testdir_1/tfile_2" macro
231 if ((fd = open(TEST_FILE2, O_RDWR | O_CREAT, 0666)) == -1) in setup_eacces()
237 SAFE_SYMLINK(cleanup, TEST_FILE2, SFILE2); in setup_eacces()
/third_party/ltp/testcases/kernel/syscalls/kcmp/
Dkcmp02.c23 #define TEST_FILE2 "test_file2" macro
58 fd2 = SAFE_OPEN(TEST_FILE2, O_CREAT | O_RDWR | O_TRUNC, 0644); in setup()
Dkcmp01.c21 #define TEST_FILE2 "test_file2" macro
59 fd3 = SAFE_OPEN(TEST_FILE2, O_CREAT | O_RDWR, 0666); in do_child()
/third_party/ltp/testcases/kernel/syscalls/splice/
Dsplice03.c36 #define TEST_FILE2 "testfile2" macro
70 wrfd = SAFE_OPEN(TEST_FILE2, O_WRONLY | O_CREAT, 0644); in setup()
/third_party/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c48 #define TEST_FILE2 "t_file/testfile" macro
67 { TEST_FILE2, TRUNC_LEN, ENOTDIR },
/third_party/ltp/testcases/kernel/syscalls/symlinkat/
Dsymlinkat01.c63 #define TEST_FILE2 "newfile" macro
/third_party/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c79 #define TEST_FILE2 "newfile" macro