Home
last modified time | relevance | path

Searched refs:TEST_FILE1 (Results 1 – 13 of 13) sorted by relevance

/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c78 #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/
Dsymlinkat01.c62 #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/
Dsymlink03.c95 #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/
Dstat03.c94 #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/
Dlink08.c55 #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/
Dmkdirat02.c38 #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/
Dreadlink03.c55 #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/
Dtruncate03.c58 #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/
Dchown04.c64 #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/
Dchmod06.c65 #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/
Dstatfs02.c50 #define TEST_FILE1 TEST_FILE"/statfs_file1" macro
62 {TEST_FILE1, &buf, ENOTDIR},
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown02.c66 #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/
Dacct01.c44 #define TEST_FILE1 "/" macro
71 {TEST_FILE1, "EISDIR", EISDIR, NULL, NULL},