Lines Matching refs:ATF_REQUIRE
59 #define RE(expr) ATF_REQUIRE(!kyua_error_is_set(expr))
260 ATF_REQUIRE(!kyua_error_is_set(error));
264 ATF_REQUIRE(!timed_out);
295 ATF_REQUIRE(!kyua_error_is_set(error));
300 ATF_REQUIRE(!timed_out);
324 ATF_REQUIRE(!kyua_error_is_set(error));
336 ATF_REQUIRE(mkdir("dir", 0000) != -1);
342 ATF_REQUIRE(kyua_error_is_set(error));
343 ATF_REQUIRE(kyua_error_is_type(error, "libc"));
354 ATF_REQUIRE(kyua_error_is_set(error));
355 ATF_REQUIRE(kyua_error_is_type(error, "libc"));
377 ATF_REQUIRE(!kyua_error_is_set(error));
383 ATF_REQUIRE(!timed_out);
384 ATF_REQUIRE(WIFSIGNALED(status));
442 ATF_REQUIRE(sigaction(signo, &sa, NULL) != -1);
465 ATF_REQUIRE(!kyua_error_is_set(error));
468 ATF_REQUIRE(timed_out);
469 ATF_REQUIRE(WIFSIGNALED(status));
550 ATF_REQUIRE(mkdir("the-work-directory", 0755) != -1);
566 ATF_REQUIRE(mkdir(tmpdir, 0755) != -1);
578 ATF_REQUIRE(access(template_test, X_OK) == -1);
582 ATF_REQUIRE(access(work_directory, X_OK) != -1);
584 ATF_REQUIRE(rmdir(tmpdir) == -1); // Not yet empty.
586 ATF_REQUIRE(rmdir(tmpdir) != -1);
596 ATF_REQUIRE(mkdir(tmpdir, 0755) != -1);
607 ATF_REQUIRE(access(template_test, X_OK) == -1);
611 ATF_REQUIRE(access(work_directory, X_OK) != -1);
613 ATF_REQUIRE(rmdir(tmpdir) == -1); // Not yet empty.
615 ATF_REQUIRE(rmdir(tmpdir) != -1);
638 ATF_REQUIRE(stat(work_directory, &sb) != -1);
655 ATF_REQUIRE(mkdir(tmpdir, 0555) != -1);
661 ATF_REQUIRE(kyua_error_is_set(error));
662 ATF_REQUIRE(kyua_error_is_type(error, "libc"));
666 ATF_REQUIRE(rmdir(tmpdir) != -1); // Empty; subdirectory not created.
680 ATF_REQUIRE(mkdir(tmpdir, 0755) != -1);
686 ATF_REQUIRE(kyua_error_is_set(error));
687 ATF_REQUIRE(kyua_error_is_type(error, "libc"));
691 ATF_REQUIRE(rmdir(tmpdir) != -1); // Empty; subdirectory not created.
704 ATF_REQUIRE(mkdir(tmpdir, 0755) != -1);
729 ATF_REQUIRE(!timed_out);
730 ATF_REQUIRE(WIFSIGNALED(status));
733 ATF_REQUIRE(rmdir(tmpdir) == -1); // Not yet empty.
735 ATF_REQUIRE(rmdir(tmpdir) != -1);