Home
last modified time | relevance | path

Searched full:fail (Results 1 – 25 of 3189) sorted by relevance

12345678910>>...128

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_ip_encap.c83 goto fail; in create_ns()
86 goto fail; in create_ns()
88 SYS(fail, "ip netns add %s", name); in create_ns()
91 SYS(fail, "ip netns exec %s sysctl -wq net.ipv4.conf.all.rp_filter=0", name); in create_ns()
92 SYS(fail, "ip netns exec %s sysctl -wq net.ipv4.conf.default.rp_filter=0", name); in create_ns()
94 SYS(fail, "ip netns exec %s sysctl -wq net.ipv6.conf.all.accept_dad=0", name); in create_ns()
95 SYS(fail, "ip netns exec %s sysctl -wq net.ipv6.conf.default.accept_dad=0", name); in create_ns()
98 fail: in create_ns()
104 SYS(fail, "ip -n %s a add %s/24 dev veth1", ns1, IP4_ADDR_1); in set_top_addr()
105 SYS(fail, "ip -n %s a add %s/24 dev veth2", ns2, IP4_ADDR_2); in set_top_addr()
[all …]
H A Dfib_lookup.c429 goto fail; in setup_netns()
433 goto fail; in setup_netns()
435 SYS(fail, "ip link add veth1 type veth peer name veth2"); in setup_netns()
436 SYS(fail, "ip link set dev veth1 up"); in setup_netns()
437 SYS(fail, "ip link set dev veth2 up"); in setup_netns()
441 goto fail; in setup_netns()
445 goto fail; in setup_netns()
447 SYS(fail, "ip addr add %s/64 dev veth1 nodad", IPV6_IFACE_ADDR); in setup_netns()
448 SYS(fail, "ip neigh add %s dev veth1 nud failed", IPV6_NUD_FAILED_ADDR); in setup_netns()
449 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV6_NUD_STALE_ADDR, DMAC); in setup_netns()
[all …]
H A Dcrypto_sanity.c99 SYS(fail, "ip netns add %s", NS_TEST); in test_crypto_sanity()
100 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_crypto_sanity()
101 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_crypto_sanity()
105 goto fail; in test_crypto_sanity()
108 if (!ASSERT_OK(err, "AF_ALG init 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()
[all …]
H 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()
57 SYS(fail, "ip -n %s%d link add veth%d type veth peer name veth%d netns %s%d", in setup()
60 SYS(fail, "ip -n %s%d link set dev veth%d up", NETNS_BASE, ns, local_id); in setup()
61 SYS(fail, "ip -n %s%d link set dev veth%d up", NETNS_BASE, next_ns, peer_id); in setup()
64 SYS(fail, "ip -n %s%d -6 addr add fb00::%d%d/16 dev veth%d scope link", in setup()
66 SYS(fail, "ip -n %s%d -6 addr add fb00::%d%d/16 dev veth%d scope link", in setup()
71 SYS(fail, "ip -n %s5 -6 route add fb00::109 table 117 dev veth9 scope link", NETNS_BASE); in setup()
73 SYS(fail, "ip -n %s1 -6 addr add fb00::1/16 dev lo", NETNS_BASE); in setup()
74 SYS(fail, "ip -n %s1 -6 route add fb00::6 dev veth1 via fb00::21", NETNS_BASE); in setup()
[all …]
H A Dtest_tunnel.c128 SYS(fail, "ip netns add at_ns0"); in add_vxlan_tunnel()
129 SYS(fail, "ip link add veth0 address " MAC_VETH1 " type veth peer name veth1"); in add_vxlan_tunnel()
130 SYS(fail, "ip link set veth0 netns at_ns0"); in add_vxlan_tunnel()
131 SYS(fail, "ip addr add " IP4_ADDR1_VETH1 "/24 dev veth1"); in add_vxlan_tunnel()
132 SYS(fail, "ip link set dev veth1 up mtu 1500"); in add_vxlan_tunnel()
133 SYS(fail, "ip netns exec at_ns0 ip addr add " IP4_ADDR_VETH0 "/24 dev veth0"); in add_vxlan_tunnel()
134 SYS(fail, "ip netns exec at_ns0 ip link set dev veth0 up mtu 1500"); in add_vxlan_tunnel()
137 fail: in add_vxlan_tunnel()
152 SYS(fail, "ip netns exec at_ns0 ip link add dev %s type vxlan external gbp dstport 4789",
154 SYS(fail, "i in delete_vxlan_tunnel()
[all...]
H 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()
119 SYS(fail, "ip link add veth01 netns " NS0 " type veth peer name veth10 netns " NS1); in config_underlay()
120 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH01 "/24 dev veth01"); in config_underlay()
121 SYS(fail, "ip -net " NS0 " link set dev veth01 up"); in config_underlay()
122 SYS(fail, "ip -net " NS1 " addr add " IP4_ADDR_VETH10 "/24 dev veth10"); in config_underlay()
123 SYS(fail, "ip -net " NS1 " link set dev veth10 up"); in config_underlay()
126 SYS(fail, "ip link add veth02 netns " NS0 " type veth peer name veth20 netns " NS2); in config_underlay()
127 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH02 "/24 dev veth02"); in config_underlay()
[all …]
H 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()
148 SYS(fail, "ip netns add " NS0); in setup()
149 SYS(fail, "ip netns add " NS1); in setup()
152 SYS(fail, "ip link add veth01 netns " NS0 " type veth peer name veth10" in setup()
154 SYS(fail, "ip -net " NS0 " addr add " IP4_ADDR_VETH01 "/24 dev veth01"); in setup()
155 SYS(fail, "ip -net " NS0 " link set dev veth01 up"); in setup()
156 SYS(fail, "ip -net " NS1 " addr add " IP4_ADDR_VETH10 "/24 dev veth10"); in setup()
[all …]
H A Dtc_redirect.c214 SYS(fail, "ip link add src address " MAC_SRC " type veth " in netns_setup_links_and_routes()
216 SYS(fail, "ip link add dst address " MAC_DST " type veth " in netns_setup_links_and_routes()
221 goto fail; in netns_setup_links_and_routes()
224 goto fail; in netns_setup_links_and_routes()
228 goto fail; in netns_setup_links_and_routes()
231 goto fail; in netns_setup_links_and_routes()
235 goto fail; in netns_setup_links_and_routes()
239 goto fail; in netns_setup_links_and_routes()
243 goto fail; in netns_setup_links_and_routes()
247 goto fail; in netns_setup_links_and_routes()
[all …]
H A Dksock.c34 goto fail; in ksock_test_env_setup()
38 goto fail; in ksock_test_env_setup()
42 goto fail; in ksock_test_env_setup()
46 goto fail; in ksock_test_env_setup()
50 goto fail; in ksock_test_env_setup()
54 fail: in ksock_test_env_setup()
77 goto fail; in test_ksock_lsm()
85 goto fail; in test_ksock_lsm()
87 goto fail; in test_ksock_lsm()
94 goto fail; in test_ksock_lsm()
[all …]
H A Dtest_tc_tunnel.c266 SYS(fail, "ip fou %s port %d ipproto %d%s", add ? "add" : "del", in configure_fou_rx_port()
271 fail: in configure_fou_rx_port()
287 SYS(fail, "ip link set dev testtun0 address " MAC_ADDR_VETH2); in update_tunnel_intf_addr()
289 fail: in update_tunnel_intf_addr()
295 SYS(fail, "sysctl -qw net.mpls.platform_labels=%d", in configure_kernel_for_mpls()
297 SYS(fail, "ip -f mpls route add 1000 dev lo"); in configure_kernel_for_mpls()
298 SYS(fail, "ip link set lo up"); in configure_kernel_for_mpls()
299 SYS(fail, "sysctl -qw net.mpls.conf.testtun0.input=1"); in configure_kernel_for_mpls()
300 SYS(fail, "sysctl -qw net.ipv4.conf.lo.rp_filter=0"); in configure_kernel_for_mpls()
302 fail: in configure_kernel_for_mpls()
[all …]
H 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 …]
/linux/tools/testing/selftests/net/
H A Dnetns-name.sh21 fail() { function
35 fail "Can't perform a netns move"
37 fail "Device not found after move"
44 ip -netns $NS link add name $DEV type dummy || fail
46 fail "Performed a netns move with a name conflict"
47 ip -netns $test_ns link show dev $DEV >> /dev/null || fail "Device not found after move"
48 ip -netns $NS link del $DEV || fail
49 ip -netns $test_ns link del $DEV || fail
55 ip -netns $NS link add name $DEV type dummy || fail
57 fail "Can't perform a netns move with rename"
[all …]
H A Dbpf_offload.py85 def fail(cond, msg): function
88 print("FAIL: " + msg)
91 log("FAIL: " + msg, tb, level=1)
99 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True): argument
112 return cmd_result(proc, include_stderr=include_stderr, fail=fail)
114 def cmd_result(proc, include_stderr=False, fail=False): argument
131 if proc.returncode != 0 and fail:
146 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False): argument
158 fail
173 bpftool(args, JSON=True, ns="", fail=True, include_stderr=False) global() argument
220 bpftool_prog_load(sample, file_name, maps=[], prog_type="xdp", dev=None, fail=True, include_stderr=False, dev_bind=None) global() argument
236 ip(args, force=False, JSON=True, ns="", fail=True, include_stderr=False) global() argument
242 tc(args, JSON=True, ns="", fail=True, include_stderr=False) global() argument
246 ethtool(dev, opt, args, fail=True) global() argument
415 set_mtu(self, mtu, fail=True) global() argument
420 set_xdp(self, bpf, mode, force=False, JSON=True, verbose=False, fail=True, include_stderr=False) global() argument
428 unset_xdp(self, mode, force=False, JSON=True, fail=True, include_stderr=False) global() argument
488 cls_filter_op(self, op, qdisc="ingress", prio=None, handle=None, chain=None, cls="", params="", fail=True, include_stderr=False) global() argument
505 cls_bpf_add_filter(self, bpf, op="add", prio=None, handle=None, chain=None, da=False, verbose=False, skip_sw=False, skip_hw=False, fail=True, include_stderr=False) global() argument
522 set_ethtool_tc_offloads(self, enable, fail=True) global() argument
[all...]
H 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"
/linux/tools/testing/selftests/gpio/
H A Dgpio-aggregator.sh12 fail() { function
14 echo "GPIO $MODULE test FAIL"
28 echo 1 > "$CONFIGFS_SIM_DIR/$CHIP/live" || fail "Unable to enable the chip"
34 echo 0 > "$CONFIGFS_SIM_DIR/$CHIP/live" || fail "Unable to disable the chip"
48 fail "Directories remain in $CONFIGFS_SIM_DIR: $remaining"
56 fail "Unable to read the chip name from configfs"
59 fail "Unable to read the chip label from the character device"
73 fail "Unable to remove $CONFIGFS_AGG_DIR/$CHIP"
95 echo "$KEY" > "$CONFIGFS_AGG_DIR/$CHIP/$LINE/key" || fail "Unable to set the lookup key"
104 fail "Unable to set the lookup offset"
[all …]
H A Dgpio-sim.sh9 fail() { function
11 echo "GPIO $MODULE test FAIL"
35 fail "Unable to remove the hog"
39 fail "Unable to remove the line"
46 rmdir $CONFIGFS_DIR/$CHIP || fail "Unable to remove the chip"
67 echo $LABEL > $CONFIGFS_DIR/$CHIP/$BANK/label || fail "Unable to set the chip label"
76 fail "Unable to set the number of lines"
87 echo $NAME > $LINE_DIR/name || fail "Unable to set the line name"
93 echo 1 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to enable the chip"
99 echo 0 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to disable the chip"
[all …]
/linux/tools/testing/selftests/ftrace/test.d/preemptirq/
H A Dirqsoff_tracer.tc8 fail() {
36 modprobe $MOD test_mode=preempt delay=500000 || fail
37 rmmod $MOD || fail
38 modprobe $MOD test_mode=preempt delay=500000 || fail
39 rmmod $MOD || fail
40 modprobe $MOD test_mode=preempt delay=500000 || fail
41 rmmod $MOD || fail
46 grep -q "tracer: preemptoff" trace || fail
49 grep -E -q "5.....us : <stack trace>" trace || fail
52 grep -E -q "latency: 5..... us" trace || fail
[all …]
/linux/drivers/media/dvb-frontends/
H A Dlg2160.c133 goto fail; in lg216x_set_reg_bit()
140 fail: in lg216x_set_reg_bit()
171 goto fail; in lg216x_soft_reset()
176 goto fail; in lg216x_soft_reset()
179 fail: in lg216x_soft_reset()
226 goto fail; in lg216x_initialize()
230 fail: in lg216x_initialize()
245 goto fail; in lg216x_set_if()
254 fail: in lg216x_set_if()
268 goto fail; in lg2160_agc_fix()
[all …]
/linux/tools/testing/selftests/exec/
H A Dexecveat.c171 int fail = 0; in check_execveat_pathmax() local
213 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
217 fail++; in check_execveat_pathmax()
222 * the interpreter will launch but fail to open the script because its in check_execveat_pathmax()
232 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax()
236 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax()
239 return fail; in check_execveat_pathmax()
267 int fail = 0; in run_tests() local
305 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests()
306 fail += check_execveat(dot_dfd, "execveat", 0); in run_tests()
[all …]
/linux/drivers/gpu/drm/ci/xfails/
H A Dmeson-g12b-fails.txt1 kms_3d,Fail
2 kms_cursor_legacy@forked-bo,Fail
3 kms_cursor_legacy@forked-move,Fail
4 kms_cursor_legacy@single-bo,Fail
5 kms_cursor_legacy@single-move,Fail
6 kms_cursor_legacy@torture-bo,Fail
7 kms_cursor_legacy@torture-move,Fail
8 kms_lease@lease-uevent,Fail
9 kms_properties@connector-properties-atomic,Fail
10 kms_properties@connector-properties-legacy,Fail
[all …]
/linux/security/apparmor/
H A Dpolicy_unpack.c198 goto fail; in aa_unpack_u16_chunk()
202 goto fail; in aa_unpack_u16_chunk()
207 fail: in aa_unpack_u16_chunk()
256 goto fail; in aa_unpack_nameX()
258 /* if a name is specified and there is no name tag fail */ in aa_unpack_nameX()
259 goto fail; in aa_unpack_nameX()
266 fail: in aa_unpack_nameX()
278 goto fail; in unpack_u8()
285 fail: in unpack_u8()
296 goto fail; in aa_unpack_u32()
[all …]
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H 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"
99 fail "Tracing file is still changing"
106 fail "Tracing is still happeing"
113 fail "traceoff trigger still exists"
118 fail "Tracing is started again"
[all …]
/linux/tools/testing/selftests/kselftest_harness/
H A Dharness-selftest.expected14 # FAIL global.standalone_fail
25 # FAIL global.signal_fail
35 # FAIL global.exit_fail
52 # FAIL global.test_result_fail
69 # RUN fixture.fail ...
70 # harness-selftest.c:53:fail:setup
71 # harness-selftest.c:70:fail:before
72 # harness-selftest.c:71:fail:Expected 0 (0) == 1 (1)
73 # harness-selftest.c:58:fail:teardown same-process=1
74 # fail
[all...]
/linux/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-demod.c68 goto fail; in mxl1x1sf_demod_get_tps_code_rate()
87 fail: in mxl1x1sf_demod_get_tps_code_rate()
99 goto fail; in mxl1x1sf_demod_get_tps_modulation()
112 fail: in mxl1x1sf_demod_get_tps_modulation()
124 goto fail; in mxl1x1sf_demod_get_tps_guard_fft_mode()
137 fail: in mxl1x1sf_demod_get_tps_guard_fft_mode()
149 goto fail; in mxl1x1sf_demod_get_tps_guard_interval()
165 fail: in mxl1x1sf_demod_get_tps_guard_interval()
177 goto fail; in mxl1x1sf_demod_get_tps_hierarchy()
193 fail: in mxl1x1sf_demod_get_tps_hierarchy()
[all …]
/linux/tools/testing/selftests/user_events/
H A Duser_events_selftests.h19 static inline bool tracefs_enabled(char **message, bool *fail, bool *umount) in tracefs_enabled() argument
25 *fail = false; in tracefs_enabled()
42 *fail = true; in tracefs_enabled()
53 *fail = true; in tracefs_enabled()
60 static inline bool user_events_enabled(char **message, bool *fail, bool *umount) in user_events_enabled() argument
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; \
[all …]

12345678910>>...128