Home | History | Annotate | Download | only in stat

Lines Matching refs:TESTFILE

83 #define TESTFILE	"testfile"
117 TEST(stat(TESTFILE, &stat_buf));
122 TESTFILE, TEST_ERRNO, strerror(TEST_ERRNO));
135 TESTFILE);
139 TESTFILE);
153 * Creat a testfile and write some data into it.
154 * Modify the mode permissions of testfile such that test process
155 * has read-only access to testfile.
185 if ((fd = open(TESTFILE, O_RDWR | O_CREAT, FILE_MODE)) == -1) {
188 TESTFILE, FILE_MODE, errno, strerror(errno));
200 TESTFILE);
207 tst_resm(TWARN | TERRNO, "closing %s failed", TESTFILE);
210 /* Modify mode permissions on the testfile */
211 SAFE_CHMOD(cleanup, TESTFILE, NEW_MODE);