Home
last modified time | relevance | path

Searched refs:atf_error_is (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/atf/atf-c/
H A Derror_test.c65 ATF_REQUIRE(atf_error_is(err, "test_error")); in ATF_TC_BODY()
66 ATF_REQUIRE(!atf_error_is(err, "unknown_error")); in ATF_TC_BODY()
72 ATF_REQUIRE(atf_error_is(err, "test_data_error")); in ATF_TC_BODY()
73 ATF_REQUIRE(!atf_error_is(err, "unknown_error")); in ATF_TC_BODY()
95 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
172 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
178 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
228 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
261 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
268 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
H A Derror.c149 atf_error_is(const atf_error_t err, const char *type) in atf_error_is() function
191 PRE(atf_error_is(err, "libc")); in libc_format()
219 PRE(atf_error_is(err, "libc")); in atf_libc_error_code()
231 PRE(atf_error_is(err, "libc")); in atf_libc_error_msg()
248 PRE(atf_error_is(err, "no_memory")); in no_memory_format()
H A Derror.h53 bool atf_error_is(const atf_error_t, const char *);
H A Dcheck.c83 INV(atf_error_is(err, "libc") && in cleanup_tmpdir()
93 INV(atf_error_is(err, "libc") && in cleanup_tmpdir()
H A Dcheck_test.c478 ATF_CHECK(atf_error_is(err, "invalid_umask")); in ATF_TC_BODY()
/freebsd/contrib/atf/atf-c++/detail/
H A Dexceptions.cpp93 PRE(atf_error_is(err, "libc")); in throw_libc_error()
105 PRE(atf_error_is(err, "no_memory")); in throw_no_memory_error()
139 if (atf_error_is(err, h->m_name)) { in throw_atf_error()
H A Dexceptions_test.cpp56 PRE(atf_error_is(err, "test")); in test_format()
H A Dfs.cpp82 if (atf_error_is(err, "libc")) { in safe_access()
/freebsd/contrib/atf/atf-c/detail/
H A Dfs_test.c595 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
671 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
696 if (atf_error_is(err, "libc")) in ATF_TC_BODY()
706 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
775 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
804 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
886 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
913 ATF_REQUIRE(atf_error_is(err, "invalid_umask")); in do_umask_check()
1019 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
H A Ddynstr_test.c163 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
204 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
209 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
H A Dfs.c92 PRE(atf_error_is(err, "invalid_umask")); in invalid_umask_format()
138 PRE(atf_error_is(err, "unknown_type")); in unknown_type_format()
758 if (atf_error_is(err, "libc") && atf_libc_error_code(err) == ENOENT) { in atf_fs_exists()
H A Dtp_main.c80 PRE(atf_error_is(err, #name)); \
121 if (atf_error_is(err, "usage")) in print_error()
H A Dtext_test.c178 ATF_REQUIRE(atf_error_is(err, "no_memory")); in ATF_TC_BODY()
H A Dmap_test.c110 ATF_REQUIRE(atf_error_is(err, "libc")); in ATF_TC_BODY()
H A Dprocess.c636 INV(atf_error_is(err, "libc") && atf_libc_error_code(err) == EINTR); in atf_process_exec_array()
H A Dprocess_test.c795 if (!atf_error_is(err, "libc")) { in child_spawn_loop_and_wait_eintr()