Lines Matching +full:best +full:- +full:effort
13 #include <atf-c.h>
50 ATF_REQUIRE(rv == -1); in ATF_TC_BODY()
57 atf_tc_set_md_var(tc, "descr", "tests initialization with a non-zero " in ATF_TC_HEAD()
72 ATF_REQUIRE_EQ(sem_trywait(&sem), -1); in ATF_TC_BODY()
92 ATF_REQUIRE_EQ(sem_trywait(&sem), -1); in ATF_TC_BODY()
96 ATF_REQUIRE_EQ(rv, -1); in ATF_TC_BODY()
139 * Make a best-effort to catch the other thread with its pants down. in ATF_TC_BODY()
147 if (sem_destroy(&semmarit[1]) == -1) in ATF_TC_BODY()
190 * Make a best-effort. Unless we're extremely unlucky, we should in ATF_TC_BODY()
227 ATF_REQUIRE_ERRNO(ETIMEDOUT, sem_timedwait(&semid, &tp) == -1); in ATF_TC_BODY()
239 * single-step into the kernel.
266 ATF_REQUIRE_EQ(sem_trywait(sem2), -1); in ATF_TC_BODY()
268 ATF_REQUIRE_EQ(sem_trywait(sem1), -1); in ATF_TC_BODY()
274 ATF_REQUIRE_EQ(sem_trywait(sem2), -1); in ATF_TC_BODY()
281 ATF_REQUIRE_EQ(sem_trywait(sem2), -1); in ATF_TC_BODY()
288 ATF_REQUIRE_EQ(sem_trywait(sem1), -1); in ATF_TC_BODY()
310 if (sem_unlink(SEM) == -1) in ATF_TC_BODY()
312 if (sem_close(sem) == -1) in ATF_TC_BODY()