Searched refs:expected_errno (Results 1 - 7 of 7) sorted by relevance
/freebsd-13-stable/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) argument 86 if (expected_errno == 0) 89 ATF_CHECK_ERRNO(expected_errno, error == -1); 129 basic_test(const atf_tc_t *tc, const char *mp, int expected_errno, argument 144 remount_ro(tc, mp, expected_errno);
|
/freebsd-13-stable/tools/regression/security/cap_test/ |
H A D | cap_test.h | 76 #define CHECK_SYSCALL_FAILS(expected_errno, syscall, ...) do { \ 78 if (errno != expected_errno) \
|
/freebsd-13-stable/contrib/atf/atf-c++/ |
H A D | macros.hpp | 191 #define ATF_CHECK_ERRNO(expected_errno, bool_expr) \ 192 atf::tests::tc::check_errno(__FILE__, __LINE__, expected_errno, \ 195 #define ATF_REQUIRE_ERRNO(expected_errno, bool_expr) \ 196 atf::tests::tc::require_errno(__FILE__, __LINE__, expected_errno, \
|
/freebsd-13-stable/tools/regression/priv/ |
H A D | priv_vfs_read_write.c | 63 int flags, int expected_error, int expected_errno) 72 : "!jail", expected_error, expected_errno, errno); 77 "!jail", expected_error, expected_errno); 62 try_io(const char *label, const char *fpathp, int asroot, int injail, int flags, int expected_error, int expected_errno) argument
|
H A D | main.c | 367 expect(const char *test, int error, int expected_error, int expected_errno) argument 379 } else if (expected_errno != errno) {
|
H A D | main.h | 54 int expected_errno);
|
/freebsd-13-stable/tools/regression/security/open_to_operation/ |
H A D | open_to_operation.c | 160 int mode, int expected_errno) 166 if (expected_errno) 172 if (expected_errno && expected_errno == errno) 174 else if (expected_errno != 0) 185 int expected_errno, i, mode; local 194 expected_errno = 0; 196 expected_errno = EISDIR; 198 expected_errno); 159 try_directory_open(const char *testname, const char *directory, int mode, int expected_errno) argument
|
Completed in 106 milliseconds