Home
last modified time | relevance | path

Searched refs:exp_errno (Results 1 – 5 of 5) sorted by relevance

/src/contrib/atf/atf-c/
H A Dmacros.h264 #define ATF_CHECK_ERRNO(exp_errno, bool_expr) \ argument
265 atf_tc_check_errno(__FILE__, __LINE__, (exp_errno), #bool_expr, (bool_expr))
267 #define ATF_REQUIRE_ERRNO(exp_errno, bool_expr) \ argument
268 atf_tc_require_errno(__FILE__, __LINE__, (exp_errno), #bool_expr, (bool_expr))
H A Dtc.c447 const int exp_errno, const char *expr_str, in errno_test() argument
454 if (exp_errno != actual_errno) { in errno_test()
458 "in %s", exp_errno, actual_errno, expr_str); in errno_test()
983 const int exp_errno, const char *expr_str, in _atf_tc_check_errno() argument
986 errno_test(ctx, file, line, exp_errno, expr_str, expr_result, fail_check); in _atf_tc_check_errno()
991 const int exp_errno, const char *expr_str, in _atf_tc_require_errno() argument
994 errno_test(ctx, file, line, exp_errno, expr_str, expr_result, in _atf_tc_require_errno()
1239 atf_tc_check_errno(const char *file, const size_t line, const int exp_errno, in atf_tc_check_errno() argument
1244 _atf_tc_check_errno(&Current, file, line, exp_errno, expr_str, in atf_tc_check_errno()
1249 atf_tc_require_errno(const char *file, const size_t line, const int exp_errno, in atf_tc_require_errno() argument
[all …]
H A Dmacros_test.c154 #define H_CHECK_ERRNO(id, exp_errno, bool_expr) \ argument
155 H_DEF(check_errno_ ## id, ATF_CHECK_ERRNO(exp_errno, bool_expr))
205 #define H_REQUIRE_ERRNO(id, exp_errno, bool_expr) \ argument
206 H_DEF(require_errno_ ## id, ATF_REQUIRE_ERRNO(exp_errno, bool_expr))
/src/lib/libutil/tests/
H A Dexpand_number_test.c47 require_error(const char *str, int exp_errno) in require_error() argument
53 ATF_REQUIRE_MSG(errno == exp_errno, in require_error()
55 exp_errno); in require_error()
/src/contrib/atf/atf-c++/
H A Dtests.cpp360 impl::tc::check_errno(const char* file, const int line, const int exp_errno, in check_errno() argument
363 atf_tc_check_errno(file, line, exp_errno, expr_str, result); in check_errno()
367 impl::tc::require_errno(const char* file, const int line, const int exp_errno, in require_errno() argument
370 atf_tc_require_errno(file, line, exp_errno, expr_str, result); in require_errno()