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.c61 #define TEST_DIR2 "newdir" macro
67 static char dpathname[256] = "%s/" TEST_DIR2 "/" TEST_FILE1;
82 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
86 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
90 TEST_DIR2 "/" TEST_FILE1, TEST_DIR1 "/" TEST_FILE1,
91 TEST_DIR2 "/" TEST_FILE1, 0},
95 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
99 TEST_DIR2 "/" TEST_FILE1, 0, 0, ENOTDIR},
103 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
107 TEST_DIR2 "/" TEST_FILE1, 0, 0, EBADF},
[all …]
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat01.c78 #define TEST_DIR2 "newdir" macro
84 #define DPATHNAME_FMT "%s/" TEST_DIR2 "/" TEST_FILE1
105 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
112 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
116 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
119 &olddirfd, TEST_FILE1, &cwd_fd, TEST_DIR2 "/" TEST_FILE1, 0,
120 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
127 TEST_DIR1 "/" TEST_FILE1, TEST_DIR2 "/" TEST_FILE1, 0},
134 &olddirfd, TEST_FILE1, &stdinfd, TEST_DIR2 "/" TEST_FILE1, 0,
142 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()