Home
last modified time | relevance | path

Searched refs:TESTFILE2 (Results 1 – 7 of 7) sorted by relevance

/external/ltp/testcases/kernel/syscalls/utimes/
Dutimes01.c46 #define TESTFILE2 "testfile2" macro
63 { TESTFILE2, NULL, EACCES },
66 { TESTFILE2, tv, EPERM },
74 SAFE_TOUCH(TESTFILE2, FILE_MODE, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown02.c47 #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/
Dchown02.c89 #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/
Dsplice01.c40 #define TESTFILE2 "splice_testfile_2" macro
50 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); in check_file()
72 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0666); in splice_test()
/external/ltp/testcases/kernel/syscalls/tee/
Dtee01.c43 #define TESTFILE2 "tee_test_file_2" macro
53 fd_out = SAFE_OPEN(TESTFILE2, O_RDONLY); in check_file()
76 fd_out = SAFE_OPEN(TESTFILE2, O_WRONLY | O_CREAT | O_TRUNC, 0777); in tee_test()
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c65 #define TESTFILE2 "testfile2" macro
159 SAFE_TOUCH(cleanup, TESTFILE2, FILEMODE, NULL); in setup()
161 sprintf(absoldpath, "%s/%s", tmpdir, TESTFILE2); in setup()
/external/ltp/testcases/kernel/syscalls/rmdir/
Drmdir02.c44 #define TESTFILE2 "testfile2" macro
73 SAFE_TOUCH(TESTFILE2, FILE_MODE, NULL); in setup()