Home
last modified time | relevance | path

Searched refs:test_fail (Results 1 – 25 of 27) sorted by relevance

12

/linux/tools/testing/selftests/bpf/
H A Dtest_xdp_redirect_multi.sh47 test_fail() function
98 { test_fail "Unable to load dummy xdp" && exit 1; }
120 test_pass "$mode mac ns1-3" || test_fail "$mode mac ns1-3"
146 test_fail "$mode arp(F_BROADCAST) ns1-1"
149 test_fail "$mode arp(F_BROADCAST) ns1-2"
152 test_fail "$mode arp(F_BROADCAST) ns1-3"
157 test_fail "$mode IPv4 (F_BROADCAST|F_EXCLUDE_INGRESS) ns1-1"
160 test_fail "$mode IPv4 (F_BROADCAST|F_EXCLUDE_INGRESS) ns1-2"
168 test_fail "$mode IPv6 (no flags) ns1-1"
171 test_fail "$mode IPv6 (no flags) ns1-2"
[all …]
H A Dtest_sockmap.c161 static void test_fail(void) in test_fail() function
1418 test_fail(); in test_exec()
1423 test_fail(); in test_exec()
/linux/tools/testing/selftests/net/tcp_ao/
H A Dseq-ext.c95 test_fail("server served: %zd", bytes); in server_fn()
97 test_fail("server returned: %zd", bytes); in server_fn()
123 test_fail("server served: %zd", bytes); in server_fn()
125 test_fail("server returned: %zd", bytes); in server_fn()
137 test_fail("TCPAOGood counter did not increase: %zu <= %zu", in server_fn()
145 test_fail("TCPAOBad counter is non-zero: %zu", after_bad); in server_fn()
154 test_fail("SEQ extension was not incremented: %u/%u", in server_fn()
186 test_fail("pre-migrate verify failed"); in client_fn()
211 test_fail("post-migrate verify failed"); in client_fn()
222 test_fail("TCPAOGood counter did not increase: %zu <= %zu", in client_fn()
[all …]
H A Drst.c45 test_fail("Segments without AO sign (%s): %" PRIu64 " => %" PRIu64, in netstats_check()
53 test_fail("Signed AO segments (%s): %" PRIu64 " => %" PRIu64, in netstats_check()
62 test_fail("Segments with bad AO sign (%s): %" PRIu64 " => %" PRIu64, in netstats_check()
124 test_fail("MKT counters (server) have not only good packets"); in test_server_active_rst()
156 test_fail("server served: %zd", bytes); in test_server_passive_rst()
158 test_fail("server returned %zd", bytes); in test_server_passive_rst()
292 test_fail("Failed to send data on connected socket"); in test_client_active_rst()
314 test_fail("sk[%d] = %d, err = %d, connection wasn't reset", in test_client_active_rst()
345 test_fail("Failed to send data on connected socket"); in test_client_passive_rst()
425 test_fail("client sock was not reset post-seq-adjust: %d", err); in test_client_passive_rst()
[all …]
H A Drestore.c46 test_fail("%s: server served: %zd", tst_name, bytes); in try_server_run()
58 test_fail("%s: server served: %zd", tst_name, bytes); in try_server_run()
63 test_fail("%s: server served: %zd", tst_name, bytes); in try_server_run()
74 test_fail("%s: %s counter did not increase: %zu <= %zu", in try_server_run()
128 test_fail("pre-migrate verify failed"); in test_get_sk_checkpoint()
172 test_fail("%s: post-migrate connection is working", tst_name); in test_sk_restore()
175 test_fail("%s: post-migrate connection still working", tst_name); in test_sk_restore()
186 test_fail("%s: %s counter did not increase: %zu <= %zu", in test_sk_restore()
H A Dkey-management.c132 test_fail("%s: the key was deleted %u:%u %d", tst_name, in try_delete_key()
231 test_fail("%s", tst_name); in try_add_current_rnext_key()
334 test_fail("listen socket, set current key"); in check_listen_socket()
339 test_fail("listen socket, set rnext key"); in check_listen_socket()
726 test_fail("%s: key %u:%u %s%s on the socket", in verify_keys()
772 test_fail("%s: key %u:%u has different password", in verify_keys()
778 test_fail("%s: key %u:%u changed maclen %u != %u", in verify_keys()
922 test_fail("verify failed"); in run_client()
1017 test_fail("verify failed"); in try_unmatched_keys()
1058 test_fail("verify failed"); in check_current_back()
[all …]
H A Dself-connect.c78 test_fail("%s: tcp connection verify failed", tst); in tcp_self_connect()
96 test_fail("%s: TCPAOGood counter mismatch: %zu <= %zu", in tcp_self_connect()
107 test_fail("%s: Didn't challenge SYN or ACK: %zu <= %zu OR %zu <= %zu", in tcp_self_connect()
158 test_fail("%s: tcp connection verify failed", tst); in tcp_self_connect()
169 test_fail("%s: TCPAOGood counter mismatch: %zu <= %zu", in tcp_self_connect()
H A Dconnect.c28 test_fail("server served: %zd", bytes); in server_fn()
57 test_fail("verify failed"); in client_fn()
70 test_fail("TCPAOGood counter mismatch: %zu > (%zu - %zu)", in client_fn()
H A Dconnect-deny.c58 test_fail("timed out for accept()"); in try_accept()
63 test_fail("ready to accept"); in try_accept()
70 test_fail("%s: accepted", tst_name); in try_accept()
87 test_fail("%s: %s counter did not increase: %zu <= %zu", in try_accept()
198 test_fail("%s: connected", tst_name); in try_connect()
H A Dicmps-accept.c45 # define test_icmps_ok test_fail
47 # define test_icmps_fail test_fail
79 test_fail("%s counter didn't change: %" PRIu64 " >= %" PRIu64, in serve_interfered()
90 test_fail("Not found %s counter", tcpao_icmps); in serve_interfered()
413 test_fail("client: connection is broken"); in send_interfered()
440 test_fail("client disconnected"); in client_fn()
H A Dicmps-discard.c45 # define test_icmps_ok test_fail
47 # define test_icmps_fail test_fail
79 test_fail("%s counter didn't change: %" PRIu64 " >= %" PRIu64, in serve_interfered()
90 test_fail("Not found %s counter", tcpao_icmps); in serve_interfered()
413 test_fail("client: connection is broken"); in send_interfered()
440 test_fail("client disconnected"); in client_fn()
H A Dunsigned-md5.c75 test_fail("timed out for accept()"); in try_accept()
80 test_fail("ready to accept"); in try_accept()
87 test_fail("%s: accepted", tst_name); in try_accept()
103 test_fail("%s: %s counter did not increase: %zu <= %zu", in try_accept()
300 test_fail("%s: connected", tst_name); in try_connect()
348 test_fail("%s: setsockopt()s were expected to fail", tst_name); in test_continue()
468 test_fail("%s: post setsockopt() was expected to fail", tst_name); in try_to_add()
483 test_fail("%s: post setsockopt() was expected to fail", tst_name); in try_to_add()
H A Dsetsockopt-closed.c33 test_fail("%s: getsockopt(): " __stringify(member) " %zu != %zu", \ in test_vefify_ao_info()
76 test_fail("%s%s: %setsockopt() failed", in __setsockopt_checked()
83 test_fail("%s%s: %setsockopt() was expected to fail with %d", in __setsockopt_checked()
93 test_fail("%s%s: get keys returned wrong tcp_ao_getsockopt size", in __setsockopt_checked()
258 test_fail("optmem limit test failed: added %zu key", i); in test_optmem_limit()
262 test_fail("optmem limit test failed: couldn't add %zu key", i); in test_optmem_limit()
/linux/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c243 test_fail("getsockopt(): " __stringify(member) " %u != %u", \ in test_cmp_getsockopt_setsockopt()
269 test_fail("getsockopt(): returned key is different `%s' != `%s'", in test_cmp_getsockopt_setsockopt()
274 test_fail("getsockopt(): returned address is different"); in test_cmp_getsockopt_setsockopt()
290 test_fail("getsockopt(): returned key is not Current_key"); in test_cmp_getsockopt_setsockopt()
294 test_fail("getsockopt(): returned key is not RNext_key"); in test_cmp_getsockopt_setsockopt()
306 test_fail("getsockopt(): returned ao doesn't have ao_required"); in test_cmp_getsockopt_setsockopt_ao()
310 test_fail("getsockopt(): returned ao doesn't accept ICMPs"); in test_cmp_getsockopt_setsockopt_ao()
314 test_fail("getsockopt(): RNext KeyID has changed"); in test_cmp_getsockopt_setsockopt_ao()
320 test_fail("getsockopt(): " __stringify(member) " %llu != %llu", \ in test_cmp_getsockopt_setsockopt_ao()
477 test_fail("%s: Keys changed on the socket %zu != %zu", in test_tcp_ao_key_counters_cmp()
[all …]
H A Daolib.h65 #define test_fail(fmt, ...) \ macro
/linux/tools/testing/memblock/tests/
H A Dcommon.h38 test_fail(); \
51 test_fail(); \
64 test_fail(); \
77 test_fail(); \
136 void test_fail(void);
H A Dcommon.c161 void test_fail(void) in test_fail() function
/linux/tools/perf/dlfilters/
H A Ddlfilter-test-api-v0.c126 static int test_fail(const char *msg) in test_fail() function
134 return test_fail("Check '" #x "' failed\n"); \
161 test_fail("Failed to allocate memory"); in start()
182 return test_fail("'" #x "' not expected value\n"); \
235 return test_fail("resolve_ip() failed"); in check_al()
249 return test_fail("resolve_addr() failed"); in check_addr_al()
264 return test_fail("resolve_ip() failed"); in check_address_al()
268 return test_fail("resolve_address() failed"); in check_address_al()
H A Ddlfilter-test-api-v2.c141 static int test_fail(const char *msg) in test_fail() function
149 return test_fail("Check '" #x "' failed\n"); \
176 test_fail("Failed to allocate memory"); in start()
197 return test_fail("'" #x "' not expected value\n"); \
250 return test_fail("resolve_ip() failed"); in check_al()
264 return test_fail("resolve_addr() failed"); in check_addr_al()
279 return test_fail("resolve_ip() failed"); in check_address_al()
283 return test_fail("resolve_address() failed"); in check_address_al()
/linux/lib/
H A Dtest-kstrtox.c8 struct test_fail { struct
14 const struct test_fail test[] __initconst argument
31 const struct test_fail *t = &test[i]; \
/linux/tools/testing/selftests/net/mptcp/
H A Duserspace_pm.sh86 test_fail() function
210test_fail "Expected tokens (c:${client_token} - s:${server_token}) and server (c:${client_serversi…
240 test_fail
292 test_fail "type defined: ${type}"
390 test_fail "unexpected type: ${type}"
403 test_fail "unexpected type: ${type}"
819 test_fail "Count != 1: ${count}"
830 test_fail "Count != 1: ${count}"
841 test_fail
/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-p2m.c231 goto test_fail; in solo_p2m_test()
234 goto test_fail; in solo_p2m_test()
238 goto test_fail; in solo_p2m_test()
243 test_fail: in solo_p2m_test()
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpuset_prs.sh676 test_fail() function
758 [[ $RETVAL -ne $RESULT ]] && test_fail $I result
762 [[ $? -ne 0 ]] && test_fail $I "effective CPU"
767 [[ $? -ne 0 ]] && test_fail $I states
774 [[ $? -ne 0 ]] && test_fail $I "isolated CPU" \
/linux/arch/m68k/ifpsp060/src/
H A Dftest.S70 bne.b test_fail
76 test_fail: label
/linux/drivers/net/ethernet/neterion/
H A Ds2io.c6083 int cnt, iteration = 0, test_fail = 0; in s2io_rldram_test() local
6149 test_fail = 1; in s2io_rldram_test()
6154 *data = test_fail; in s2io_rldram_test()
6159 return test_fail; in s2io_rldram_test()

12