Home
last modified time | relevance | path

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

/third_party/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 …]
/third_party/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 …]
/third_party/ltp/testcases/kernel/syscalls/symlink/
Dsymlink03.c96 #define TEST_FILE1 "testdir_1/tfile_1" macro
122 {TEST_FILE1, SYM_FILE1, "No Search permissions to process",
267 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) { in setup1()
270 TEST_FILE1, errno, strerror(errno)); in setup1()
290 TEST_FILE1, errno, strerror(errno)); in setup2()
/third_party/ltp/testcases/kernel/syscalls/link/
Dlink08.c28 #define TEST_FILE1 "testfile1" macro
40 {TEST_FILE1, TEST_FILE, EPERM},
72 SAFE_MKDIR(TEST_FILE1, DIR_MODE); in setup()
/third_party/ltp/testcases/kernel/syscalls/chown/
Dchown04.c46 #define TEST_FILE1 "tfile_1" macro
59 {TEST_FILE1, EPERM, "without permissions"},
92 SAFE_TOUCH(TEST_FILE1, MODE, NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/readlink/
Dreadlink03.c35 #define TEST_FILE1 "test_dir_1/test_file_1" macro
99 SAFE_TOUCH(TEST_FILE1, 0666, NULL); in setup()
100 SAFE_SYMLINK(TEST_FILE1, SYM_FILE1); in setup()
/third_party/ltp/testcases/kernel/syscalls/truncate/
Dtruncate03.c47 #define TEST_FILE1 "testfile" macro
66 { TEST_FILE1, TRUNC_LEN, EACCES },
89 SAFE_TOUCH(TEST_FILE1, NEW_MODE, NULL); in setup()
/third_party/ltp/testcases/kernel/syscalls/chmod/
Dchmod06.c34 #define TEST_FILE1 "tfile_1" macro
57 {TEST_FILE1, FILE_MODE, EPERM, set_nobody, set_root},
119 SAFE_TOUCH(TEST_FILE1, 0666, NULL); in setup()
/third_party/mindspore/tests/ut/python/dataset/
Dtest_datasets_csv.py244 TEST_FILE1 = '../data/dataset/testCSV/quoted.csv'
250 TEST_FILE1,
263 TEST_FILE1,
276 TEST_FILE1,
289 TEST_FILE1,
/third_party/ltp/testcases/kernel/syscalls/lchown/
Dlchown02.c67 #define TEST_FILE1 "tfile_1" macro
197 if ((fd = open(TEST_FILE1, O_RDWR | O_CREAT, 0666)) == -1) in setup_eperm()
207 SAFE_SYMLINK(cleanup, TEST_FILE1, SFILE1); in setup_eperm()
/third_party/ltp/testcases/kernel/syscalls/statfs/
Dstatfs02.c50 #define TEST_FILE1 TEST_FILE"/statfs_file1" macro
62 {TEST_FILE1, &buf, ENOTDIR},