Home
last modified time | relevance | path

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

12

/linux-6.12.1/tools/testing/selftests/bpf/
Dtest_xdp_redirect_multi.sh47 test_fail() function
98 { test_fail "Unable to load dummy xdp" && exit 1; }
118 test_pass "$mode mac ns1-2" || test_fail "$mode mac ns1-2"
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"
163 test_fail "$mode IPv4 (F_BROADCAST|F_EXCLUDE_INGRESS) ns1-3"
[all …]
Dtest_sockmap.c162 static void test_fail(void) in test_fail() function
1416 test_fail(); in test_exec()
1421 test_fail(); in test_exec()
/linux-6.12.1/tools/testing/selftests/net/tcp_ao/
Dseq-ext.c95 test_fail("server served: %zd", bytes); in server_fn()
97 test_fail("server returned: %zd", bytes); in server_fn()
131 test_fail("server served: %zd", bytes); in server_fn()
133 test_fail("server returned: %zd", bytes); in server_fn()
146 test_fail("TCPAOGood counter did not increase: %" PRIu64 " <= %" PRIu64, in server_fn()
154 test_fail("TCPAOBad counter is non-zero: %" PRIu64, after_bad); in server_fn()
163 test_fail("SEQ extension was not incremented: %u/%u", in server_fn()
195 test_fail("pre-migrate verify failed"); in client_fn()
220 test_fail("post-migrate verify failed"); in client_fn()
232 test_fail("TCPAOGood counter did not increase: %" PRIu64 " <= %" PRIu64, in client_fn()
[all …]
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 …]
Dkey-management.c132 test_fail("%s: the key was deleted %u:%u %d", tst_name, in try_delete_key()
139 test_fail("%s: can't delete the key %u:%u %d", tst_name, sndid, rcvid, err); in try_delete_key()
231 test_fail("%s", tst_name); in try_add_current_rnext_key()
310 test_fail("listen socket, getsockopt(TCP_AO_REPAIR) works"); in assert_no_tcp_repair()
316 test_fail("listen socket, setsockopt(TCP_AO_REPAIR) works"); in assert_no_tcp_repair()
334 test_fail("listen socket, set current key"); in check_listen_socket()
339 test_fail("listen socket, set rnext key"); in check_listen_socket()
560 test_fail("%s: the socket doesn't have current key", tst); in verify_current_rnext()
562 test_fail("%s: current key is not the expected one %d != %u", in verify_current_rnext()
570 test_fail("%s: the socket doesn't have rnext key", tst); in verify_current_rnext()
[all …]
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()
75 test_fail("%s: %s counter did not increase: %" PRIu64 " <= %" PRIu64, in try_server_run()
129 test_fail("pre-migrate verify failed"); in test_get_sk_checkpoint()
173 test_fail("%s: post-migrate connection is working", tst_name); in test_sk_restore()
176 test_fail("%s: post-migrate connection still working", tst_name); in test_sk_restore()
188 test_fail("%s: %s counter did not increase: %" PRIu64 " <= %" PRIu64, in test_sk_restore()
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 > (%" PRIu64 " - %" PRIu64 ")", in client_fn()
Dself-connect.c74 test_fail("%s: tcp connection verify failed", tst); in tcp_self_connect()
90 test_fail("%s: TCPAOGood counter mismatch: %" PRIu64 " <= %" PRIu64, in tcp_self_connect()
140 test_fail("%s: tcp connection verify failed", tst); in tcp_self_connect()
151 test_fail("%s: TCPAOGood counter mismatch: %" PRIu64 " <= %" PRIu64, in tcp_self_connect()
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()
89 test_fail("%s: %s counter did not increase: %" PRIu64 " <= %" PRIu64, in try_accept()
201 test_fail("%s: connected", tst_name); in try_connect()
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()
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()
Dunsigned-md5.c76 test_fail("timed out for accept()"); in try_accept()
81 test_fail("ready to accept"); in try_accept()
88 test_fail("%s: accepted", tst_name); in try_accept()
104 test_fail("%s: %s counter did not increase: %" PRIu64 " <= %" PRIu64, in try_accept()
302 test_fail("%s: connected", tst_name); in try_connect()
350 test_fail("%s: setsockopt()s were expected to fail", tst_name); in test_continue()
471 test_fail("%s: post setsockopt() was expected to fail", tst_name); in try_to_add()
486 test_fail("%s: post setsockopt() was expected to fail", tst_name); in try_to_add()
Dsetsockopt-closed.c33 test_fail("%s: getsockopt(): " __stringify(member) " %" PRIu64 " != %" PRIu64, \ 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-6.12.1/tools/testing/selftests/net/tcp_ao/lib/
Dsock.c243 test_fail("getsockopt(): " __stringify(member) " %u != %u", \ in test_cmp_getsockopt_setsockopt()
256 test_fail("getsockopt(): expected default maclen 12, but it's %u", in test_cmp_getsockopt_setsockopt()
263 test_fail("getsockopt(): expected keylen 16 for cmac(aes128), but it's %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()
278 test_fail("getsockopt(): returned algorithm %s is different than %s", b->alg_name, a->alg_name); in test_cmp_getsockopt_setsockopt()
282 test_fail("getsockopt(): returned algorithm %s is different than cmac(aes)", b->alg_name); 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()
[all …]
Dftrace.c282 test_fail("tracer errored by %s", strerror(tracer->error)); in stop_trace_thread()
Dftrace-tcp.c472 test_fail("Some trace events were expected, but didn't occur"); in print_match_stats()
/linux-6.12.1/tools/testing/memblock/tests/
Dcommon.h39 test_fail(); \
55 test_fail(); \
68 test_fail(); \
81 test_fail(); \
140 void test_fail(void);
Dcommon.c161 void test_fail(void) in test_fail() function
/linux-6.12.1/tools/perf/dlfilters/
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()
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-6.12.1/lib/
Dtest-kstrtox.c8 struct test_fail { struct
14 const struct test_fail test[] __initconst argument
31 const struct test_fail *t = &test[i]; \
/linux-6.12.1/tools/testing/selftests/net/mptcp/
Duserspace_pm.sh86 test_fail() function
214test_fail "Expected tokens (c:${client_token} - s:${server_token}) and server (c:${client_serversi…
244 test_fail
296 test_fail "type defined: ${type}"
394 test_fail "unexpected type: ${type}"
407 test_fail "unexpected type: ${type}"
829 test_fail "Count != 1: ${count}"
840 test_fail "Count != 1: ${count}"
851 test_fail
/linux-6.12.1/drivers/media/pci/solo6x10/
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-6.12.1/tools/testing/selftests/cgroup/
Dtest_cpuset_prs.sh740 test_fail() function
823 [[ $RETVAL -ne $RESULT ]] && test_fail $I result
827 [[ $? -ne 0 ]] && test_fail $I "effective CPU"
832 [[ $? -ne 0 ]] && test_fail $I states
839 [[ $? -ne 0 ]] && test_fail $I "isolated CPU" \
/linux-6.12.1/drivers/platform/x86/intel/ifs/
Difs.h311 u32 test_fail :1; member

12