Home
last modified time | relevance | path

Searched refs:TESTFILE1 (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/syscalls/chown/
Dchown02.c87 #define TESTFILE1 "testfile1" macro
104 TESTFILE1, 700, 701, 1, setup1},
237 if ((fd = open(TESTFILE1, O_RDWR | O_CREAT, FILE_MODE)) == -1) in setup1()
240 TESTFILE1, FILE_MODE); in setup1()
243 TESTFILE1); in setup1()
246 if (chmod(TESTFILE1, NEW_PERMS1) == -1) in setup1()
248 TESTFILE1); in setup1()
/external/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c56 #define TESTFILE1 "testfile1" macro
78 { TESTFILE1, a_tv, 0 },
79 { TESTFILE1, m_tv, 0 },
132 SAFE_TOUCH(cleanup, TESTFILE1, FILE_MODE, NULL); in setup()
134 SAFE_CHOWN(cleanup, TESTFILE1, ltpuser->pw_uid, in setup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown02.c46 #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/
Dsplice01.c41 #define TESTFILE1 "splice_testfile_1" macro
95 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_RDONLY); in splice_test()
142 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777); in setup()
/external/ltp/testcases/kernel/syscalls/tee/
Dtee01.c49 #define TESTFILE1 "tee_test_file_1" macro
101 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_RDONLY); in tee_test()
156 fd_in = SAFE_OPEN(cleanup, TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777); in setup()