Searched refs:TESTFILE1 (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown02.c | 88 #define TESTFILE1 "testfile1" macro 105 TESTFILE1, 700, 701, 1, setup1}, 238 if ((fd = open(TESTFILE1, O_RDWR | O_CREAT, FILE_MODE)) == -1) in setup1() 241 TESTFILE1, FILE_MODE); in setup1() 245 SAFE_CHMOD(cleanup, TESTFILE1, NEW_PERMS1); in setup1()
|
/external/ltp/testcases/kernel/syscalls/utimes/ |
D | utimes01.c | 32 #define TESTFILE1 "testfile1" macro 48 { TESTFILE1, a_tv, 0 }, 49 { TESTFILE1, m_tv, 0 }, 63 SAFE_TOUCH(TESTFILE1, FILE_MODE, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
D | fchown02.c | 46 #define TESTFILE1 "testfile1" macro 62 {&fd1, TESTFILE1, "Setuid/Setgid bits cleared", 700, 701, 1}, 143 fd1 = SAFE_OPEN(cleanup, TESTFILE1, O_RDWR | O_CREAT, FILE_MODE); in setup() 144 SAFE_CHMOD(cleanup, TESTFILE1, NEW_PERMS1); in setup()
|
/external/ltp/testcases/kernel/syscalls/splice/ |
D | splice01.c | 26 #define TESTFILE1 "splice_testfile_1" macro 58 fd_in = SAFE_OPEN(TESTFILE1, O_RDONLY); in splice_test() 91 fd_in = SAFE_OPEN(TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777); in setup()
|
/external/ltp/testcases/kernel/syscalls/tee/ |
D | tee01.c | 23 #define TESTFILE1 "tee_test_file_1" macro 56 fd_in = SAFE_OPEN(TESTFILE1, O_RDONLY); in tee_test() 97 fd_in = SAFE_OPEN(TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777); in setup()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate03.c | 28 #define TESTFILE1 "testfile1" macro 69 read_fd = SAFE_OPEN(TESTFILE1, O_RDONLY | O_CREAT, 0644); in setup()
|