Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/chown/
Dchown02.c88 #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/
Dutimes01.c45 #define TESTFILE1 "testfile1" macro
61 { TESTFILE1, a_tv, 0 },
62 { TESTFILE1, m_tv, 0 },
76 SAFE_TOUCH(TESTFILE1, FILE_MODE, NULL); 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.c39 #define TESTFILE1 "splice_testfile_1" macro
71 fd_in = SAFE_OPEN(TESTFILE1, O_RDONLY); in splice_test()
104 fd_in = SAFE_OPEN(TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777); in setup()
/external/ltp/testcases/kernel/syscalls/tee/
Dtee01.c42 #define TESTFILE1 "tee_test_file_1" macro
75 fd_in = SAFE_OPEN(TESTFILE1, O_RDONLY); in tee_test()
116 fd_in = SAFE_OPEN(TESTFILE1, O_WRONLY | O_CREAT | O_TRUNC, 0777); in setup()