Home
last modified time | relevance | path

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

/external/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()
/external/ltp/testcases/kernel/syscalls/link/
Dlink08.c56 #define TEST_FILE2 "mntpoint/testfile3" macro
72 {TEST_FILE2, TEST_FILE, EXDEV},
73 {TEST_FILE2, TEST_FILE3, EROFS},
154 SAFE_TOUCH(cleanup, TEST_FILE2, 0644, NULL); in setup()
Dlink07.c45 #define TEST_FILE2 "testdir_1/tfile_2" macro
65 TEST(link(TEST_FILE2, NEW_TEST_FILE2)); in main()
103 SAFE_TOUCH(cleanup, TEST_FILE2, 0666, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c97 #define TEST_FILE2 "tfile_2" macro
126 TEST_FILE2, SYM_FILE2, "Specified symlink already exists",
314 if ((fd = open(TEST_FILE2, O_RDWR | O_CREAT, 0666)) == -1) { in setup2()
322 TEST_FILE2, errno, strerror(errno)); in setup2()
325 if (symlink(TEST_FILE2, SYM_FILE2) < 0) { in setup2()
/external/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c57 #define TEST_FILE2 "tfile_2" macro
82 {TEST_FILE2, 1, EINVAL},
136 SAFE_TOUCH(cleanup, TEST_FILE2, 0666, NULL); in setup()
137 SAFE_SYMLINK(cleanup, TEST_FILE2, SYM_FILE2); in setup()
/external/ltp/testcases/kernel/syscalls/open/
Dopen02.c39 #define TEST_FILE2 "test_file2" macro
52 {TEST_FILE2, O_RDONLY | O_NOATIME, EPERM},
89 SAFE_TOUCH(cleanup, TEST_FILE2, 0644, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown02.c68 #define TEST_FILE2 "testdir_1/tfile_2" macro
236 if ((fd = open(TEST_FILE2, O_RDWR | O_CREAT, 0666)) == -1) in setup_eacces()
243 if (symlink(TEST_FILE2, SFILE2) < 0) { in setup_eacces()
245 TEST_FILE2, SFILE2); in setup_eacces()
/external/ltp/testcases/kernel/syscalls/chown/
Dchown04.c65 #define TEST_FILE2 (DIR_TEMP "/tfile_2") macro
79 {TEST_FILE2, EACCES},
172 SAFE_TOUCH(cleanup, TEST_FILE2, 0666, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c66 #define TEST_FILE2 "testdir_1/tfile_2" macro
91 {TEST_FILE2, FILE_MODE, EACCES, set_nobody, set_root},
191 SAFE_TOUCH(cleanup, TEST_FILE2, 0666, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/kcmp/
Dkcmp02.c36 #define TEST_FILE2 "test_file2" macro
71 fd2 = SAFE_OPEN(TEST_FILE2, O_CREAT | O_RDWR | O_TRUNC); in setup()
Dkcmp01.c34 #define TEST_FILE2 "test_file2" macro
72 fd3 = SAFE_OPEN(TEST_FILE2, O_CREAT | O_RDWR, 0666); in do_child()
/external/ltp/testcases/kernel/syscalls/splice/
Dsplice03.c48 #define TEST_FILE2 "testfile2" macro
119 wrfd = SAFE_OPEN(cleanup, TEST_FILE2, in setup()
/external/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c59 #define TEST_FILE2 "t_file/testfile" macro
78 { TEST_FILE2, TRUNC_LEN, ENOTDIR },
/external/ltp/testcases/kernel/syscalls/stat/
Dstat03.c95 #define TEST_FILE2 "t_file/tfile_2" macro
124 TEST_FILE2, "Path contains regular file", ENOTDIR, setup2}, {
/external/ltp/testcases/kernel/syscalls/acct/
Dacct01.c45 #define TEST_FILE2 "/dev/null" macro
72 {TEST_FILE2, "EACCES", EACCES, NULL, NULL},
/external/ltp/testcases/kernel/syscalls/symlinkat/
Dsymlinkat01.c63 #define TEST_FILE2 "newfile" macro
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c79 #define TEST_FILE2 "newfile" macro