/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat01.c | 78 #define TEST_FILE1 "oldfile" macro 82 #define DPATHNAME_FMT "%s/" TEST_DIR2 "/" TEST_FILE1 83 #define SPATHNAME_FMT "%s/" TEST_DIR1 "/" TEST_FILE1 102 &olddirfd, TEST_FILE1, &newdirfd, TEST_FILE1, 0, 103 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, 106 &olddirfd, spathname, &newdirfd, TEST_FILE1, 0, 0, 0, 0}, 109 &olddirfd, TEST_FILE1, &newdirfd, dpathname, 0, 110 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, 113 &cwd_fd, TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 0, 114 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, [all …]
|
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
D | symlinkat01.c | 62 #define TEST_FILE1 "oldfile" macro 66 static char dpathname[256] = "%s/" TEST_DIR2 "/" TEST_FILE1; 80 "../" TEST_DIR1 "/" TEST_FILE1, &newdirfd, TEST_FILE1, 81 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, 84 "../" TEST_DIR1 "/" TEST_FILE1, &newdirfd, dpathname, 85 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0}, 88 "../" TEST_DIR1 "/" TEST_FILE1, &cwd_fd, 89 TEST_DIR2 "/" TEST_FILE1, TEST_DIR1 "/" TEST_FILE1, 90 TEST_DIR2 "/" TEST_FILE1, 0}, 93 "../" TEST_DIR1 "/" TEST_FILE1, &cwd_fd, dpathname, [all …]
|
/external/ltp/testcases/kernel/syscalls/symlink/ |
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) { in setup1() 291 TEST_FILE1, errno, strerror(errno)); in setup1() 296 TEST_FILE1, errno, strerror(errno)); in setup1() 317 TEST_FILE1, errno, strerror(errno)); in setup2()
|
/external/ltp/testcases/kernel/syscalls/stat/ |
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) { in setup1() 289 TEST_FILE1, errno, strerror(errno)); in setup1() 295 TEST_FILE1, errno, strerror(errno)); in setup1()
|
/external/ltp/testcases/kernel/syscalls/link/ |
D | link08.c | 55 #define TEST_FILE1 "testfile1" macro 71 {TEST_FILE1, TEST_FILE, EPERM}, 139 SAFE_MKDIR(cleanup, TEST_FILE1, DIR_MODE); in setup()
|
/external/ltp/testcases/kernel/syscalls/mkdirat/ |
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/ |
D | readlink03.c | 55 #define TEST_FILE1 "testdir_1/tfile_1" macro 132 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL); in setup() 133 SAFE_SYMLINK(cleanup, TEST_FILE1, SYM_FILE1); in setup()
|
/external/ltp/testcases/kernel/syscalls/truncate/ |
D | truncate03.c | 58 #define TEST_FILE1 "testfile" macro 77 { TEST_FILE1, TRUNC_LEN, EACCES }, 135 SAFE_TOUCH(cleanup, TEST_FILE1, NEW_MODE, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/chown/ |
D | chown04.c | 64 #define TEST_FILE1 "tfile_1" macro 78 {TEST_FILE1, EPERM}, 170 SAFE_TOUCH(cleanup, TEST_FILE1, 0666, NULL); in setup()
|
/external/ltp/testcases/kernel/syscalls/chmod/ |
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); in setup()
|
/external/ltp/testcases/kernel/syscalls/statfs/ |
D | statfs02.c | 50 #define TEST_FILE1 TEST_FILE"/statfs_file1" macro 62 {TEST_FILE1, &buf, ENOTDIR},
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
D | lchown02.c | 66 #define TEST_FILE1 "tfile_1" macro 199 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) in setup_eperm() 210 if (symlink(TEST_FILE1, SFILE1) < 0) in setup_eperm()
|
/external/ltp/testcases/kernel/syscalls/acct/ |
D | acct01.c | 44 #define TEST_FILE1 "/" macro 71 {TEST_FILE1, "EISDIR", EISDIR, NULL, NULL},
|