Lines Matching refs:file2
161 char file1[100], file2[100]; in setupfunc_test1() local
164 sprintf(file2, "open03.2.%d", getpid()); in setupfunc_test1()
169 if (symlink(file1, file2) < 0) in setupfunc_test1()
172 strcpy(TC[0].filename, file2); in setupfunc_test1()
177 char file1[100], file2[100]; in setupfunc_test2() local
180 sprintf(file2, "open03.4.%d", getpid()); in setupfunc_test2()
184 if (symlink(file1, file2) < 0) in setupfunc_test2()
187 strcpy(TC[1].filename, file2); in setupfunc_test2()
192 char file1[100], file2[100], file3[100]; in setupfunc_test3() local
195 sprintf(file2, "open03.6.%d", getpid()); in setupfunc_test3()
201 if (symlink(file1, file2) < 0) in setupfunc_test3()
204 if (symlink(file2, file3) < 0) in setupfunc_test3()
212 char file1[100], file2[100], file3[100]; in setupfunc_test4() local
215 sprintf(file2, "open03.9.%d", getpid()); in setupfunc_test4()
220 if (symlink(file1, file2) < 0) in setupfunc_test4()
223 if (symlink(file2, file3) < 0) in setupfunc_test4()
231 char file1[100], file2[100]; in setupfunc_test5() local
234 sprintf(file2, "open12.4.%d", getpid()); in setupfunc_test5()
238 if (symlink(file1, file2) < 0) in setupfunc_test5()
241 strcpy(TC[4].filename, file2); in setupfunc_test5()