Lines Matching refs:ATF_REQUIRE_MSG
60 ATF_REQUIRE_MSG(mkstemp(test_path) != -1,
62 ATF_REQUIRE_MSG(unlink(test_path) == 0,
149 ATF_REQUIRE_MSG(shm_unlink(test_path) != -1,
175 ATF_REQUIRE_MSG(shm_unlink(test_path) != -1,
188 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
201 ATF_REQUIRE_MSG(shm_unlink(test_path) != -1,
213 ATF_REQUIRE_MSG(fd >= 0, "shm_open(1) failed; errno=%d", errno);
216 ATF_REQUIRE_MSG(shm_unlink(test_path) != -1, "shm_unlink failed: %d",
253 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
298 ATF_REQUIRE_MSG(fd >= 0, "shm_open failed; errno=%d", errno);
304 ATF_REQUIRE_MSG(shm_unlink(test_path) != -1,
318 ATF_REQUIRE_MSG(fd >= 0, "shm_open(1) failed; errno=%d", errno);
319 ATF_REQUIRE_MSG(ftruncate(fd, 1024) != -1,
321 ATF_REQUIRE_MSG(fstat(fd, &sb) != -1,
323 ATF_REQUIRE_MSG(sb.st_size == 1024, "size %d != 1024", (int)sb.st_size);
328 ATF_REQUIRE_MSG(fd >= 0, "shm_open(2) failed; errno=%d", errno);
329 ATF_REQUIRE_MSG(fstat(fd, &sb) != -1,
331 ATF_REQUIRE_MSG(sb.st_size == 0,
334 ATF_REQUIRE_MSG(shm_unlink(test_path) != -1,
539 ATF_REQUIRE_MSG(desc >= 0, "shm_open failed; errno=%d", errno);
540 ATF_REQUIRE_MSG(shm_unlink(test_path) == 0,
542 ATF_REQUIRE_MSG(ftruncate(desc, (off_t)psize) != -1,
547 ATF_REQUIRE_MSG(region != MAP_FAILED, "mmap failed; errno=%d", errno);
553 ATF_REQUIRE_MSG(sigaction(SIGUSR1, &sa, (struct sigaction *)0) == 0,
558 ATF_REQUIRE_MSG(sigprocmask(SIG_BLOCK, &ss, (sigset_t *)0) == 0,
562 ATF_REQUIRE_MSG(rv != -1, "fork failed; errno=%d", errno);