/external/ltp/testcases/kernel/syscalls/linkat/ |
H A D | linkat01.c | 80 #define TEST_FILE1 "oldfile" macro 84 #define DPATHNAME_FMT "%s/" TEST_DIR2 "/" TEST_FILE1 85 #define SPATHNAME_FMT "%s/" TEST_DIR1 "/" TEST_FILE1 104 &olddirfd, TEST_FILE1, &newdirfd, TEST_FILE1, 0, 105 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, 108 &olddirfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0}, 111 &olddirfd, TEST_FILE1, &newdirfd, dpathname, 0, 112 TEST_DIR1 "/" TEST_FILE1, TEST_DIR [all...] |
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
H A D | symlinkat01.c | 63 #define TEST_FILE1 "oldfile" macro 67 static char dpathname[256] = "%s/" TEST_DIR2 "/" TEST_FILE1; 81 "../" TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 82 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, 85 "../" TEST_DIR1 "/" TEST_FILE1, &newdirfd, dpathname, 86 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, 89 "../" TEST_DIR1 "/" TEST_FILE1, [all...] |
/external/ltp/testcases/kernel/syscalls/access/ |
H A D | access02.c | 45 #define TEST_FILE1 "test_file1" macro 68 {TEST_FILE1, R_OK, setup1}, 147 fd1 = open(TEST_FILE1, O_RDWR | O_CREAT, FILE_MODE); 151 TEST_FILE1, FILE_MODE); 157 "write(%s) failed in setup1", TEST_FILE1); 274 tst_resm(TFAIL | TERRNO, "read(%s) failed", TEST_FILE1); 319 tst_brkm(TFAIL | TERRNO, NULL, "close(%s) failed", TEST_FILE1);
|
H A D | access05.c | 58 #define TEST_FILE1 "test_file1" macro 77 {TEST_FILE1, R_OK, EACCES}, 147 * create TEST_FILE1 to test R_OK EACCESS 149 fd = SAFE_CREAT(cleanup, TEST_FILE1, 0333);
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
H A D | symlink03.c | 95 #define TEST_FILE1 "testdir_1/tfile_1" macro 124 TEST_FILE1, SYM_FILE1, "No Search permissions to process", 288 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) { 291 TEST_FILE1, errno, strerror(errno)); 296 TEST_FILE1, errno, strerror(errno)); 317 TEST_FILE1, errno, strerror(errno));
|
/external/ltp/testcases/kernel/syscalls/stat/ |
H A D | stat03.c | 94 #define TEST_FILE1 "testdir_1/tfile_1" macro 114 TEST_FILE1, "No Search permissions to process", EACCES, setup1}, 286 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) { 289 TEST_FILE1, errno, strerror(errno)); 295 TEST_FILE1, errno, strerror(errno));
|
/external/ltp/testcases/kernel/syscalls/link/ |
H A D | link08.c | 55 #define TEST_FILE1 "testfile1" macro 71 {TEST_FILE1, TEST_FILE, EPERM}, 139 SAFE_MKDIR(cleanup, TEST_FILE1, DIR_MODE);
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
H A D | mkdirat02.c | 38 #define TEST_FILE1 "mntpoint/test_file1" macro 56 {&dir_fd, TEST_FILE1, EROFS}, 57 {&cur_fd, TEST_FILE1, EROFS},
|
/external/ltp/testcases/kernel/syscalls/readlink/ |
H A D | readlink03.c | 55 #define TEST_FILE1 "testdir_1/tfile_1" macro 132 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL); 133 SAFE_SYMLINK(cleanup, TEST_FILE1, SYM_FILE1);
|
/external/ltp/testcases/kernel/syscalls/statfs/ |
H A D | statfs02.c | 50 #define TEST_FILE1 TEST_FILE"/statfs_file1" macro 62 {TEST_FILE1, &buf, ENOTDIR},
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
H A D | chmod06.c | 65 #define TEST_FILE1 "tfile_1" macro 90 {TEST_FILE1, FILE_MODE, EPERM, set_nobody, set_root}, 189 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL);
|
/external/ltp/testcases/kernel/syscalls/chown/ |
H A D | chown04.c | 64 #define TEST_FILE1 "tfile_1" macro 78 {TEST_FILE1, EPERM}, 170 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL);
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
H A D | truncate03.c | 58 #define TEST_FILE1 "testfile" macro 77 { TEST_FILE1, TRUNC_LEN, EACCES }, 135 SAFE_TOUCH(cleanup, TEST_FILE1, NEW_MODE, NULL);
|
/external/ltp/testcases/kernel/syscalls/acct/ |
H A D | acct01.c | 44 #define TEST_FILE1 "/" macro 71 {TEST_FILE1, "EISDIR", EISDIR, NULL, NULL},
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
H A D | lchown02.c | 66 #define TEST_FILE1 "tfile_1" macro 199 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) 210 if (symlink(TEST_FILE1, SFILE1) < 0)
|