Searched refs:expected_errno (Results 1 – 11 of 11) sorted by relevance
| /freebsd/contrib/netbsd-tests/fs/vfs/ |
| H A D | t_rwtoro.c | 58 remount_ro(const atf_tc_t *tc, const char *mp, int expected_errno) in remount_ro() argument 86 if (expected_errno == 0) in remount_ro() 89 ATF_CHECK_ERRNO(expected_errno, error == -1); in remount_ro() 129 basic_test(const atf_tc_t *tc, const char *mp, int expected_errno, in basic_test() argument 144 remount_ro(tc, mp, expected_errno); in basic_test()
|
| /freebsd/tests/sys/fs/fusefs/ |
| H A D | bad_server.cc | 51 out.expected_errno = EINVAL; in TEST_F() 66 out.expected_errno = EINVAL; in TEST_F() 90 out0->expected_errno = EINVAL; in TEST_F()
|
| H A D | mockfs.hh | 239 int expected_errno; member 404 int expected_errno = 0);
|
| H A D | mockfs.cc | 853 int expected_errno) in notify_inval_entry() argument 857 out->expected_errno = expected_errno; in notify_inval_entry() 1066 if (out.expected_errno) { in write_response() 1068 ASSERT_EQ(out.expected_errno, errno) << strerror(errno); in write_response()
|
| H A D | lookup.cc | 293 out.expected_errno = EINVAL; in TEST_F()
|
| /freebsd/contrib/atf/atf-c++/ |
| H A D | macros.hpp | 191 #define ATF_CHECK_ERRNO(expected_errno, bool_expr) \ argument 192 atf::tests::tc::check_errno(__FILE__, __LINE__, expected_errno, \ 195 #define ATF_REQUIRE_ERRNO(expected_errno, bool_expr) \ argument 196 atf::tests::tc::require_errno(__FILE__, __LINE__, expected_errno, \
|
| /freebsd/tools/regression/security/cap_test/ |
| H A D | cap_test.h | 74 #define CHECK_SYSCALL_FAILS(expected_errno, syscall, ...) do { \ argument 76 if (errno != expected_errno) \
|
| /freebsd/tools/regression/priv/ |
| H A D | priv_vfs_read_write.c | 61 int flags, int expected_error, int expected_errno) in try_io() argument 70 : "!jail", expected_error, expected_errno, errno); in try_io() 75 "!jail", expected_error, expected_errno); in try_io()
|
| H A D | main.c | 365 expect(const char *test, int error, int expected_error, int expected_errno) in expect() argument 377 } else if (expected_errno != errno) { in expect()
|
| H A D | main.h | 52 int expected_errno);
|
| /freebsd/tools/regression/security/open_to_operation/ |
| H A D | open_to_operation.c | 157 int mode, int expected_errno) in try_directory_open() argument 163 if (expected_errno) in try_directory_open() 169 if (expected_errno && expected_errno == errno) in try_directory_open() 171 else if (expected_errno != 0) in try_directory_open() 182 int expected_errno, i, mode; in check_directory_open_modes() local 191 expected_errno = 0; in check_directory_open_modes() 193 expected_errno = EISDIR; in check_directory_open_modes() 195 expected_errno); in check_directory_open_modes()
|