| /src/contrib/atf/atf-c/ |
| H A D | macros.h | 264 #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 D | tc.c | 447 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 D | macros_test.c | 154 #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 D | expand_number_test.c | 47 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 D | tests.cpp | 360 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()
|