Lines Matching refs:ATF_REQUIRE
59 ATF_REQUIRE(isatty(fd) != -1);
60 ATF_REQUIRE(errno == EBADF);
64 ATF_REQUIRE(ttyname(fd) == NULL);
65 ATF_REQUIRE(errno == EBADF);
74 ATF_REQUIRE(isatty(fd) != -1);
75 ATF_REQUIRE(errno == ENOTTY);
79 ATF_REQUIRE(ttyname(fd) == NULL);
80 ATF_REQUIRE(errno == ENOTTY);
108 ATF_REQUIRE(rv == ERANGE);
112 ATF_REQUIRE(rv == EBADF);
118 ATF_REQUIRE(rv == ENOTTY);
119 ATF_REQUIRE(close(fd) == 0);
150 ATF_REQUIRE(rv == 0);
151 ATF_REQUIRE(str != NULL);
169 ATF_REQUIRE(ttyname(STDIN_FILENO) != NULL);
173 ATF_REQUIRE(isatty(STDIN_FILENO) != 1);
174 ATF_REQUIRE(ttyname(STDIN_FILENO) == NULL);
181 ATF_REQUIRE(ttymax >= 0);