Lines Matching refs:file1
161 char file1[100], file2[100]; in setupfunc_test1() local
163 sprintf(file1, "open03.1.%d", getpid()); in setupfunc_test1()
165 fd1 = creat(file1, 00700); in setupfunc_test1()
169 if (symlink(file1, file2) < 0) in setupfunc_test1()
177 char file1[100], file2[100]; in setupfunc_test2() local
179 sprintf(file1, "open03.3.%d", getpid()); in setupfunc_test2()
181 if (mkdir(file1, 00700) < 0) in setupfunc_test2()
184 if (symlink(file1, file2) < 0) in setupfunc_test2()
192 char file1[100], file2[100], file3[100]; in setupfunc_test3() local
194 sprintf(file1, "open03.5.%d", getpid()); in setupfunc_test3()
197 fd2 = creat(file1, 00700); in setupfunc_test3()
201 if (symlink(file1, file2) < 0) in setupfunc_test3()
212 char file1[100], file2[100], file3[100]; in setupfunc_test4() local
214 sprintf(file1, "open03.8.%d", getpid()); in setupfunc_test4()
217 if (mkdir(file1, 00700) < 0) in setupfunc_test4()
220 if (symlink(file1, file2) < 0) in setupfunc_test4()
231 char file1[100], file2[100]; in setupfunc_test5() local
233 sprintf(file1, "open11.3.%d", getpid()); in setupfunc_test5()
235 if (mkdir(file1, 00700) < 0) in setupfunc_test5()
238 if (symlink(file1, file2) < 0) in setupfunc_test5()