Home
last modified time | relevance | path

Searched refs:TESTFILE1 (Results 1 – 6 of 6) 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.c32 #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/
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.c26 #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/
Dtee01.c23 #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/
Dftruncate03.c28 #define TESTFILE1 "testfile1" macro
69 read_fd = SAFE_OPEN(TESTFILE1, O_RDONLY | O_CREAT, 0644); in setup()