Lines Matching refs:open
18 * This test case will verify basic function of open(2) with the flags
115 TEST(open(TEST_FILE, O_RDWR | O_APPEND, 0777));
118 tst_resm(TFAIL | TTERRNO, "open failed");
129 tst_resm(TPASS, "test O_APPEND for open success");
131 tst_resm(TFAIL, "test O_APPEND for open failed");
141 "test O_NOATIME flag for open needs filesystems which "
150 TEST(open(TEST_FILE, O_RDONLY | O_NOATIME, 0777));
153 tst_resm(TFAIL | TTERRNO, "open failed");
161 tst_resm(TPASS, "test O_NOATIME for open success");
163 tst_resm(TFAIL, "test O_NOATIME for open failed");
172 TEST(open(TEST_FILE, O_RDWR | O_APPEND | O_CLOEXEC, 0777));
175 tst_resm(TFAIL | TTERRNO, "open failed");
198 tst_resm(TPASS, "test O_CLOEXEC for open success");
201 tst_resm(TFAIL, "test O_CLOEXEC for open failed");
229 TEST(open(LARGE_FILE, O_LARGEFILE | O_RDONLY, 0777));
232 tst_resm(TFAIL, "test O_LARGEFILE for open failed");
234 tst_resm(TPASS, "test O_LARGEFILE for open success");