Home
last modified time | relevance | path

Searched refs:TEST_DIR2 (Results 1 – 4 of 4) sorted by relevance

/external/ltp/testcases/kernel/syscalls/symlinkat/
Dsymlinkat01.c60 #define TEST_DIR2 "newdir" macro
66 static char dpathname[256] = "%s/" TEST_DIR2 "/" TEST_FILE1;
81 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
85 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
89 TEST_DIR2 "/" TEST_FILE1, TEST_DIR1 "/" TEST_FILE1,
90 TEST_DIR2 "/" TEST_FILE1, 0},
94 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
98 TEST_DIR2 "/" TEST_FILE1, 0, 0, ENOTDIR},
102 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
106 TEST_DIR2 "/" TEST_FILE1, 0, 0, EBADF},
[all …]
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c76 #define TEST_DIR2 "newdir" macro
82 #define DPATHNAME_FMT "%s/" TEST_DIR2 "/" TEST_FILE1
103 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
110 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
114 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
117 &olddirfd, TEST_FILE1, &cwd_fd, TEST_DIR2 "/" TEST_FILE1, 0,
118 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
125 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
132 &olddirfd, TEST_FILE1, &stdinfd, TEST_DIR2 "/" TEST_FILE1, 0,
140 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
[all …]
/external/ltp/testcases/kernel/syscalls/renameat2/
Drenameat202.c32 #define TEST_DIR2 "test_dir2/" macro
91 SAFE_MKDIR(cleanup, TEST_DIR2, 0700); in setup()
94 SAFE_TOUCH(cleanup, TEST_DIR2 TEST_FILE2, 0600, NULL); in setup()
97 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup()
139 contentfile = TEST_DIR2 TEST_FILE2; in renameat2_verify()
141 emptyfile = TEST_DIR2 TEST_FILE2; in renameat2_verify()
Drenameat201.c43 #define TEST_DIR2 "test_dir2/" macro
113 SAFE_MKDIR(cleanup, TEST_DIR2, 0700); in setup()
116 SAFE_TOUCH(cleanup, TEST_DIR2 TEST_FILE2, 0600, NULL); in setup()
120 newdirfd = SAFE_OPEN(cleanup, TEST_DIR2, O_DIRECTORY); in setup()