Lines Matching refs:ATF_REQUIRE
145 ATF_REQUIRE(getrlimit(rlimit[i], &res) == 0);
146 ATF_REQUIRE(setrlimit(rlimit[i], &res) == 0);
165 ATF_REQUIRE(getrlimit(rlimit[i], (void *)0) != 0);
166 ATF_REQUIRE(errno == EFAULT);
171 ATF_REQUIRE(getrlimit(INT_MAX, &res) != 0);
172 ATF_REQUIRE(errno == EINVAL);
193 ATF_REQUIRE(pid >= 0);
254 ATF_REQUIRE(page >= 0);
312 ATF_REQUIRE(pid >= 0);
365 ATF_REQUIRE(pid >= 0);
417 ATF_REQUIRE(pid >= 0);
470 ATF_REQUIRE(setrlimit(RLIMIT_NTHR, &res) == 0);
471 ATF_REQUIRE(getcontext(&c) == 0);
476 ATF_REQUIRE((c.uc_stack.ss_sp = malloc(c.uc_stack.ss_size)) != NULL);
498 ATF_REQUIRE(getrlimit(rlimit[i], &res) == 0);
523 ATF_REQUIRE(setrlimit(RLIMIT_STACK, &res) == 0);
524 ATF_REQUIRE(getrlimit(RLIMIT_STACK, &res) == 0);