Searched refs:TESTFILE2 (Results 1 – 8 of 8) sorted by relevance
/external/ltp/testcases/kernel/syscalls/utimes/ |
D | utimes01.c | 33 #define TESTFILE2 "testfile2" macro 50 { TESTFILE2, NULL, EACCES }, 53 { TESTFILE2, tv, EPERM }, 61 SAFE_TOUCH(TESTFILE2, FILE_MODE, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown02.c | 47 #define TESTFILE2 "testfile2" macro 63 {&fd2, TESTFILE2, "Setgid bit not cleared", 700, 701, 2}, 145 fd2 = SAFE_OPEN(cleanup, TESTFILE2, O_RDWR | O_CREAT, FILE_MODE); in setup() 146 SAFE_CHMOD(cleanup, TESTFILE2, NEW_PERMS2); in setup()
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown02.c | 89 #define TESTFILE2 "testfile2" macro 108 TESTFILE2, 700, 701, 2, setup2},}; 260 if ((fd = open(TESTFILE2, O_RDWR | O_CREAT, FILE_MODE)) == -1) { in setup2() 263 TESTFILE2, FILE_MODE); in setup2()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice01.c | 27 #define TESTFILE2 "splice_testfile_2" macro 37 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); in check_file() 59 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); in splice_test()
|
/external/ltp/testcases/kernel/syscalls/tee/ |
D | tee01.c | 24 #define TESTFILE2 "tee_test_file_2" macro 34 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); in check_file() 57 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777); in tee_test()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate03.c | 29 #define TESTFILE2 "testfile2" macro 71 fd = SAFE_OPEN(TESTFILE2, O_RDWR | O_CREAT, 0644); in setup()
|
/external/ltp/testcases/kernel/syscalls/rmdir/ |
D | rmdir02.c | 32 #define TESTFILE2 "testfile2" macro 61 SAFE_TOUCH(TESTFILE2, FILE_MODE, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/renameat/ |
D | renameat01.c | 65 #define TESTFILE2 "testfile2" macro 159 SAFE_TOUCH(cleanup, TESTFILE2, FILEMODE, NULL); in setup() 161 sprintf(absoldpath, "%s/%s", tmpdir, TESTFILE2); in setup()
|