Home
last modified time | relevance | path

Searched refs:fail (Results 1 – 25 of 196) sorted by relevance

12345678

/tools/testing/selftests/bpf/prog_tests/
A Dlwt_ip_encap.c94 fail: in create_ns()
115 fail: in set_top_addr()
136 fail: in set_bottom_addr()
162 fail: in configure_vrf()
192 fail: in configure_ns1()
224 fail: in configure_ns2()
269 fail: in configure_ns3()
314 fail: in setup_network()
326 fail: in remove_routes_to_gredev()
338 fail: in add_unreachable_routes_to_gredev()
[all …]
A Dlwt_seg6local.c48 SYS(fail, "ip netns add %s%d", NETNS_BASE, ns); in setup()
50 SYS(fail, "ip -n %s6 link set dev lo up", NETNS_BASE); in setup()
64 SYS(fail, "ip -n %s%d -6 addr add fb00::%d%d/16 dev veth%d scope link", in setup()
73 SYS(fail, "ip -n %s1 -6 addr add fb00::1/16 dev lo", NETNS_BASE); in setup()
81 SYS(fail, in setup()
85 SYS(fail, in setup()
88 SYS(fail, "ip -n %s4 -6 addr add fc42::1 dev lo", NETNS_BASE); in setup()
92 SYS(fail, in setup()
96 SYS(fail, "ip -n %s6 -6 addr add fb00::6/16 dev lo", NETNS_BASE); in setup()
97 SYS(fail, "ip -n %s6 -6 addr add fd00::4/16 dev lo", NETNS_BASE); in setup()
[all …]
A Dtest_tunnel.c137 fail: in config_device()
172 fail: in add_vxlan_tunnel()
208 fail: in add_ip6vxlan_tunnel()
238 fail: in set_ipip_encap()
250 fail: in set_ipv4_addr()
296 fail: in add_ipip_tunnel()
378 fail: in add_xfrm_tunnel()
406 fail: in add_ipv4_tunnel()
435 fail: in set_ipv6_addr()
451 fail: in add_ipv6_tunnel()
[all …]
A Dxfrm_info.c114 SYS(fail, "ip netns add " NS0); in config_underlay()
115 SYS(fail, "ip netns add " NS1); in config_underlay()
116 SYS(fail, "ip netns add " NS2); in config_underlay()
133 fail: in config_underlay()
159 fail: in setup_xfrm_tunnel_ns()
253 goto fail; in config_overlay()
256 goto fail; in config_overlay()
260 goto fail; in config_overlay()
274 fail: in config_overlay()
285 goto fail; in test_xfrm_ping()
[all …]
A Dvrf_socket_lookup.c76 goto fail; in make_socket()
79 fail: in make_socket()
96 goto fail; in make_server()
100 fail: in make_server()
178 goto fail; in setup()
181 goto fail; in setup()
184 goto fail; in setup()
187 goto fail; in setup()
190 goto fail; in setup()
193 fail: in setup()
[all …]
A Dfib_lookup.c152 SYS(fail, "ip link set dev veth1 up"); in setup_netns()
157 goto fail; in setup_netns()
161 goto fail; in setup_netns()
191 goto fail; in setup_netns()
195 goto fail; in setup_netns()
208 fail: in setup_netns()
322 goto fail; in test_fib_lookup()
325 goto fail; in test_fib_lookup()
329 goto fail; in test_fib_lookup()
368 goto fail; in test_fib_lookup()
[all …]
A Dcrypto_sanity.c105 goto fail; in test_crypto_sanity()
109 goto fail; in test_crypto_sanity()
113 goto fail; in test_crypto_sanity()
122 goto fail; in test_crypto_sanity()
127 goto fail; in test_crypto_sanity()
130 goto fail; in test_crypto_sanity()
134 goto fail; in test_crypto_sanity()
140 goto fail; in test_crypto_sanity()
145 goto fail; in test_crypto_sanity()
149 goto fail; in test_crypto_sanity()
[all …]
A Ddecap_sanity.c31 SYS(fail, "ip netns add %s", NS_TEST); in test_decap_sanity()
32 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_decap_sanity()
33 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_decap_sanity()
37 goto fail; in test_decap_sanity()
41 goto fail; in test_decap_sanity()
45 goto fail; in test_decap_sanity()
50 goto fail; in test_decap_sanity()
56 goto fail; in test_decap_sanity()
59 goto fail; in test_decap_sanity()
63 goto fail; in test_decap_sanity()
[all …]
A Dxdp_vlan.c32 goto fail; in setup_network()
34 goto fail; in setup_network()
36 SYS(fail, "ip netns add %s", ns1); in setup_network()
37 SYS(fail, "ip netns add %s", ns2); in setup_network()
38 SYS(fail, "ip -n %s link add %s type veth peer name %s netns %s", in setup_network()
48 SYS(fail, "ip -n %s addr add %s/24 dev %s", ns1, NS1_IP_ADDR, VETH_NAME); in setup_network()
49 SYS(fail, "ip -n %s link set %s up", ns1, VETH_NAME); in setup_network()
52 SYS(fail, "ip -n %s link add link %s name %s.%d type vlan id %d", in setup_network()
55 SYS(fail, "ip -n %s link set %s up", ns2, VETH_NAME); in setup_network()
56 SYS(fail, "ip -n %s link set %s.%d up", ns2, VETH_NAME, VLAN_ID); in setup_network()
[all …]
A Dtc_redirect.c226 goto fail; in netns_setup_links_and_routes()
229 goto fail; in netns_setup_links_and_routes()
233 goto fail; in netns_setup_links_and_routes()
237 goto fail; in netns_setup_links_and_routes()
241 goto fail; in netns_setup_links_and_routes()
324 fail: in netns_setup_links_and_routes()
404 fail: in netns_load_bpf()
461 fail: in test_ping()
758 fail: in netns_load_dtime_bpf()
1107 fail: in tun_open()
[all …]
/tools/testing/selftests/ftrace/test.d/preemptirq/
A Dirqsoff_tracer.tc8 fail() {
37 rmmod $MOD || fail
39 rmmod $MOD || fail
41 rmmod $MOD || fail
46 grep -q "tracer: preemptoff" trace || fail
52 grep -E -q "latency: 5..... us" trace || fail
60 rmmod $MOD || fail
62 rmmod $MOD || fail
64 rmmod $MOD || fail
69 grep -q "tracer: irqsoff" trace || fail
[all …]
/tools/testing/selftests/gpio/
A Dgpio-aggregator.sh12 fail() { function
264 fail "label is inconsistent"
292 fail "label is inconsistent"
349 fail "label is inconsistent"
361 fail "label is inconsistent"
380 fail "label is inconsistent"
492 fail "name unexpectedly updated"
498 fail "offset unexpectedly updated"
532 fail "name unexpectedly updated"
538 fail "offset unexpectedly updated"
[all …]
A Dgpio-sim.sh9 fail() { function
35 fail "Unable to remove the hog"
39 fail "Unable to remove the line"
76 fail "Unable to set the number of lines"
114 fail "unable to read the chip name from configfs"
121 fail "unable to read the device name from configfs"
266 fail "invalid configfs line name accepted"
268 fail "invalid configfs line name accepted"
288 fail "Setting label of a live chip should fail"
343 test "$?" = "1" || fail "pull set incorrectly"
[all …]
/tools/testing/selftests/exec/
A Dexecveat.c171 int fail = 0; in check_execveat_pathmax() local
217 fail++; in check_execveat_pathmax()
239 return fail; in check_execveat_pathmax()
267 int fail = 0; in run_tests() local
309 fail += check_execveat(AT_FDCWD, fullname, 0); in run_tests()
311 fail += check_execveat(99, fullname, 0); in run_tests()
313 fail += check_execveat(fd, "", AT_EMPTY_PATH); in run_tests()
344 fail += check_execveat(fd_symlink, "", in run_tests()
364 fail += check_execveat(dot_dfd, "script", 0); in run_tests()
370 fail += check_execveat(fd_script, "", in run_tests()
[all …]
/tools/testing/selftests/net/
A Dnetns-name.sh21 fail() { function
35 fail "Can't perform a netns move"
37 fail "Device not found after move"
48 ip -netns $NS link del $DEV || fail
49 ip -netns $test_ns link del $DEV || fail
58 ip -netns $test_ns link del $DEV2 || fail
59 ip -netns $test_ns link del $DEV || fail
70 fail "Moved with alt-name dup"
72 ip -netns $test_ns link del $DEV || fail
73 ip -netns $NS link del $DEV2 || fail
[all …]
A Dbpf_offload.py158 fail=fail, include_stderr=True)
161 fail=fail, include_stderr=False)
175 fail=fail, include_stderr=include_stderr)
231 res = bpftool(args, fail=fail, include_stderr=include_stderr)
240 fail=fail, include_stderr=include_stderr)
244 fail=fail, include_stderr=include_stderr)
417 fail=fail)
425 fail=fail, include_stderr=include_stderr)
431 fail=fail, include_stderr=include_stderr)
500 fail=fail, include_stderr=include_stderr)
[all …]
A Dnetdev-l2addr.sh19 fail() { function
37 get_addr address "$nsim" "$NS" >/dev/null || fail "Couldn't get ether addr"
38 get_addr broadcast "$nsim" "$NS" >/dev/null || fail "Couldn't get brd addr"
39 get_addr permaddr "$nsim" "$NS" >/dev/null && fail "Found perm_addr without setting it"
44 [[ "$(get_addr address "$nsim" "$NS")" == "$TEST_ADDR" ]] || fail "Couldn't set ether addr"
45 [[ "$(get_addr broadcast "$nsim" "$NS")" == "$TEST_ADDR" ]] || fail "Couldn't set brd addr"
48 fail "Created netdevsim with broadcast permaddr"
53 get_addr address "$nsim_port" "$NS" >/dev/null || fail "Couldn't get ether addr"
54 get_addr broadcast "$nsim_port" "$NS" >/dev/null || fail "Couldn't get brd addr"
55 [[ "$(get_addr permaddr "$nsim_port" "$NS")" == "$TEST_ADDR" ]] || fail "Couldn't get permaddr"
/tools/testing/selftests/user_events/
A Duser_events_selftests.h25 *fail = false; in tracefs_enabled()
42 *fail = true; in tracefs_enabled()
53 *fail = true; in tracefs_enabled()
66 *fail = false; in user_events_enabled()
71 *fail = true; in user_events_enabled()
75 if (!tracefs_enabled(message, fail, umount)) in user_events_enabled()
89 *fail = true; in user_events_enabled()
99 bool fail; \
100 if (!user_events_enabled(&message, &fail, &(umount))) { \
101 if (fail) { \
[all …]
/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfunc_traceonoff_triggers.tc16 fail() { # mesg
35 fail "Found junk in trace"
48 fail "Nothing found in trace"
77 fail "Did not find traceoff trigger"
85 fail "Tracing is not stopped"
90 fail "Tracing is not off"
105 fail "Tracing is still happeing"
117 fail "Tracing is started again"
124 fail "traceon trigger not found"
129 fail "Tracing did not start"
[all …]
A Dfunc_set_ftrace_file.tc15 fail() { # mesg
75 fail "Expected only $ALL_FUNCS"
80 fail "Expected $ALL_FUNCS and $FUNC1:traceoff:unlimited"
85 fail "Expected $FUNC1 and $FUNC1:traceoff:unlimited"
90 fail "Expected $FUNC1 $FUNC2 and $FUNC1:traceoff:unlimited"
95 fail "Expected $FUNC1 $FUNC2 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
100 fail "Expected $FUNC1 $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
105 fail "Expected $ALL_FUNCS $FUNC1:traceoff:unlimited and $FUNC2:traceoff:unlimited"
111 fail "Expected $ALL_FUNCS"
116 fail "Expected $FUNC1"
[all …]
/tools/testing/selftests/proc/
A Dproc-self-map-files-001.c36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() function
66 fail("/proc/self/map_files/ %lx-%lx", a, b); in main()
67 fail("/proc/self/map_files/%lx -%lx", a, b); in main()
68 fail("/proc/self/map_files/%lx- %lx", a, b); in main()
69 fail("/proc/self/map_files/%lx-%lx ", a, b); in main()
70 fail("/proc/self/map_files/0%lx-%lx", a, b); in main()
71 fail("/proc/self/map_files/%lx-0%lx", a, b); in main()
73 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main()
74 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main()
76 fail("/proc/self/map_files/10000000000000000%lx-%lx", a, b); in main()
[all …]
A Dproc-self-map-files-002.c36 static void fail(const char *fmt, unsigned long a, unsigned long b) in fail() function
78 fail("/proc/self/map_files/ %lx-%lx", a, b); in main()
79 fail("/proc/self/map_files/%lx -%lx", a, b); in main()
80 fail("/proc/self/map_files/%lx- %lx", a, b); in main()
81 fail("/proc/self/map_files/%lx-%lx ", a, b); in main()
82 fail("/proc/self/map_files/0%lx-%lx", a, b); in main()
83 fail("/proc/self/map_files/%lx-0%lx", a, b); in main()
85 fail("/proc/self/map_files/100000000%lx-%lx", a, b); in main()
86 fail("/proc/self/map_files/%lx-100000000%lx", a, b); in main()
88 fail("/proc/self/map_files/10000000000000000%lx-%lx", a, b); in main()
[all …]
/tools/testing/selftests/powerpc/signal/
A Dsignal_tm.c26 static sig_atomic_t fail; variable
31 fail = 2; in signal_handler()
38 fail = 1; in signal_handler()
89 i, fail, rc, ret); in test_signal_tm()
92 while(!signaled && !fail) in test_signal_tm()
96 i, fail, rc, ret); in test_signal_tm()
97 FAIL_IF(fail); /* For the line number */ in test_signal_tm()
/tools/testing/selftests/ftrace/test.d/trigger/
A Dtrigger-multihist.tc7 fail() { #msg
18 fail "hist trigger on sched_process_fork did not work"
20 fail "hist trigger on sched_process_fork did not work"
23 fail "string key on sched_process_fork did not work"
32 fail "named event on sched_process_fork did not work"
39 fail "named event on sched_process_fork did not work"
42 test $diffs -eq 0 || fail "Same name histograms are not same"
A Dtrigger-hist.tc7 fail() { #msg
17 fail "hist trigger on sched_process_fork did not work"
19 fail "hist trigger on sched_process_fork did not work"
28 fail "compound keys on sched_process_fork did not work"
38 fail "string key on sched_process_fork did not work"
47 fail "sym modifier on kmalloc call_site did not work"
56 fail "sym-offset modifier on kmalloc call_site did not work"
74 fail "sort param on sched_process_fork did not work"

Completed in 38 milliseconds

12345678