Home | History | Annotate | Download | only in dup

Lines Matching refs:testfile

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