Lines Matching refs:testfile
42 static const char *testfile = "dup07"; variable
62 if ((rdoret = creat(testfile, 0444)) == -1) { in main()
63 tst_resm(TFAIL, "Unable to creat file '%s'", testfile); in main()
66 tst_resm(TFAIL, "Unable to dup '%s'", testfile); in main()
82 unlink(testfile); in main()
84 if ((wroret = creat(testfile, 0222)) == -1) { in main()
85 tst_resm(TFAIL, "Unable to creat file '%s'", testfile); in main()
88 tst_resm(TFAIL, "Unable to dup '%s'", testfile); in main()
105 unlink(testfile); in main()
107 if ((rdwret = creat(testfile, 0666)) == -1) { in main()
108 tst_resm(TFAIL, "Unable to creat file '%s'", testfile); in main()
111 tst_resm(TFAIL, "Unable to dup '%s'", testfile); in main()
127 unlink(testfile); in main()