/third_party/ltp/testcases/kernel/syscalls/renameat2/ |
D | renameat201.c | 46 #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()
|
D | renameat202.c | 35 #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/ |
D | readlink03.c | 37 #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/ |
D | open02.c | 25 #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/ |
D | link08.c | 29 #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/ |
D | chown04.c | 47 #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/ |
D | symlink03.c | 98 #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/ |
D | chmod06.c | 35 #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/ |
D | lchown02.c | 69 #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/ |
D | kcmp02.c | 23 #define TEST_FILE2 "test_file2" macro 58 fd2 = SAFE_OPEN(TEST_FILE2, O_CREAT | O_RDWR | O_TRUNC, 0644); in setup()
|
D | kcmp01.c | 21 #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/ |
D | splice03.c | 36 #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/ |
D | truncate03.c | 48 #define TEST_FILE2 "t_file/testfile" macro 67 { TEST_FILE2, TRUNC_LEN, ENOTDIR },
|
/third_party/ltp/testcases/kernel/syscalls/symlinkat/ |
D | symlinkat01.c | 63 #define TEST_FILE2 "newfile" macro
|
/third_party/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat01.c | 79 #define TEST_FILE2 "newfile" macro
|