Lines Matching refs:ATF_REQUIRE
100 ATF_REQUIRE(fd != -1);
116 ATF_REQUIRE(fd != -1);
142 ATF_REQUIRE(!fh1.is_valid());
145 ATF_REQUIRE(fh2.is_valid());
162 ATF_REQUIRE(!fh2.is_valid());
163 ATF_REQUIRE(fh3.is_valid());
166 ATF_REQUIRE(!fh3.is_valid());
167 ATF_REQUIRE(fh1.is_valid());
196 ATF_REQUIRE(::pipe(pfd) != -1);
200 ATF_REQUIRE(rend.get() != 10);
201 ATF_REQUIRE(wend.get() != 10);
204 ATF_REQUIRE(::write(wend.get(), "test-posix-remap", 16) != -1);
209 ATF_REQUIRE(std::strcmp(buf, "test-posix-remap") == 0);
217 ATF_REQUIRE(::write(wend.get(), "test-posix-remap", 16) != -1);
222 ATF_REQUIRE(std::strcmp(buf, "test-posix-remap") == 0);
290 ATF_REQUIRE(::pipe(fds) != -1);
320 ATF_REQUIRE(os.good() || (os.bad() && errno == EINTR));
337 default: ATF_REQUIRE(false);
362 ATF_REQUIRE(::dup2(pipeout[1], STDOUT_FILENO) != -1);
363 ATF_REQUIRE(::dup2(pipeerr[1], STDERR_FILENO) != -1);
381 ATF_REQUIRE(pipe(pipeout) != -1);
382 ATF_REQUIRE(pipe(pipeerr) != -1);
390 ATF_REQUIRE(pid != -1);
412 ATF_REQUIRE(::waitpid(pid, &status, 0) != -1);
413 ATF_REQUIRE(WIFEXITED(status));
414 ATF_REQUIRE(WEXITSTATUS(status) == EXIT_SUCCESS);
416 ATF_REQUIRE(std::cout.good());
417 ATF_REQUIRE(std::cerr.good());
423 ATF_REQUIRE(mux.lines0.size() > i);
425 ATF_REQUIRE(mux.lines1.size() > i);