Home
last modified time | relevance | path

Searched refs:fail (Results 1 - 25 of 2340) sorted by relevance

12345678910>>...94

/kernel/linux/linux-6.6/tools/testing/selftests/net/
H A Dnetns-name.sh19 fail() { function
29 ip -netns $NS link add name $DEV type dummy || fail
31 fail "Can't perform a netns move"
32 ip link show dev $DEV >> /dev/null || fail "Device not found after move"
33 ip link del $DEV || fail
39 ip -netns $NS link add name $DEV type dummy || fail
41 fail "Performed a netns move with a name conflict"
42 ip link show dev $DEV >> /dev/null || fail "Device not found after move"
43 ip -netns $NS link del $DEV || fail
44 ip link del $DEV || fail
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_offload.py82 def fail(cond, msg): function
96 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True):
109 return cmd_result(proc, include_stderr=include_stderr, fail=fail)
111 def cmd_result(proc, include_stderr=False, fail=False):
128 if proc.returncode != 0 and fail:
143 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False):
153 fail=fail, include_stderr=True)
156 fail
896 fail=False) global() variable
1218 fail=False) global() variable
1230 fail=False) global() variable
1240 fail=False) global() variable
1350 fail=False) global() variable
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_offload.py82 def fail(cond, msg): function
96 def cmd(cmd, shell=True, include_stderr=False, background=False, fail=True):
109 return cmd_result(proc, include_stderr=include_stderr, fail=fail)
111 def cmd_result(proc, include_stderr=False, fail=False):
128 if proc.returncode != 0 and fail:
143 def tool(name, args, flags, JSON=True, ns="", fail=True, include_stderr=False):
153 fail=fail, include_stderr=True)
156 fail
898 fail=False) global() variable
1220 fail=False) global() variable
1232 fail=False) global() variable
1242 fail=False) global() variable
1352 fail=False) global() variable
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/exec/
H A Dexecveat.c155 int fail = 0; in check_execveat_pathmax() local
198 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
202 fail++; in check_execveat_pathmax()
207 * the interpreter will launch but fail to open the script because its in check_execveat_pathmax()
216 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax()
219 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax()
221 return fail; in check_execveat_pathmax()
226 int fail = 0; in run_tests() local
264 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests()
265 fail in run_tests()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/exec/
H A Dexecveat.c155 int fail = 0; in check_execveat_pathmax() local
198 fail += check_execveat(fd, "", AT_EMPTY_PATH); in check_execveat_pathmax()
202 fail++; in check_execveat_pathmax()
207 * the interpreter will launch but fail to open the script because its in check_execveat_pathmax()
216 fail += check_execveat_invoked_rc(root_dfd, longpath + 1, 0, in check_execveat_pathmax()
219 fail += check_execveat(root_dfd, longpath + 1, 0); in check_execveat_pathmax()
221 return fail; in check_execveat_pathmax()
226 int fail = 0; in run_tests() local
264 fail += check_execveat(subdir_dfd, "../execveat", 0); in run_tests()
265 fail in run_tests()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
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, "i in setup()
[all...]
H A Dfib_lookup.c80 SYS(fail, "ip link add veth1 type veth peer name veth2"); in setup_netns()
81 SYS(fail, "ip link set dev veth1 up"); in setup_netns()
82 SYS(fail, "ip link set dev veth2 up"); in setup_netns()
86 goto fail; in setup_netns()
90 goto fail; in setup_netns()
92 SYS(fail, "ip addr add %s/64 dev veth1 nodad", IPV6_IFACE_ADDR); in setup_netns()
93 SYS(fail, "ip neigh add %s dev veth1 nud failed", IPV6_NUD_FAILED_ADDR); in setup_netns()
94 SYS(fail, "ip neigh add %s dev veth1 lladdr %s nud stale", IPV6_NUD_STALE_ADDR, DMAC); in setup_netns()
96 SYS(fail, "ip addr add %s/24 dev veth1", IPV4_IFACE_ADDR); in setup_netns()
97 SYS(fail, "i in setup_netns()
[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, "i in config_underlay()
[all...]
H A Dtest_tunnel.c99 SYS(fail, "ip netns add at_ns0"); in config_device()
100 SYS(fail, "ip link add veth0 address " MAC_VETH1 " type veth peer name veth1"); in config_device()
101 SYS(fail, "ip link set veth0 netns at_ns0"); in config_device()
102 SYS(fail, "ip addr add " IP4_ADDR1_VETH1 "/24 dev veth1"); in config_device()
103 SYS(fail, "ip link set dev veth1 up mtu 1500"); in config_device()
104 SYS(fail, "ip netns exec at_ns0 ip addr add " IP4_ADDR_VETH0 "/24 dev veth0"); in config_device()
105 SYS(fail, "ip netns exec at_ns0 ip link set dev veth0 up mtu 1500"); in config_device()
108 fail: in config_device()
123 SYS(fail, "ip netns exec at_ns0 ip link add dev %s type vxlan external gbp dstport 4789", in add_vxlan_tunnel()
125 SYS(fail, "i in add_vxlan_tunnel()
[all...]
H A Dtc_redirect.c195 SYS(fail, "ip link add src type veth peer name src_fwd"); in netns_setup_links_and_routes()
196 SYS(fail, "ip link add dst type veth peer name dst_fwd"); in netns_setup_links_and_routes()
198 SYS(fail, "ip link set dst_fwd address " MAC_DST_FWD); in netns_setup_links_and_routes()
199 SYS(fail, "ip link set dst address " MAC_DST); in netns_setup_links_and_routes()
203 goto fail; in netns_setup_links_and_routes()
206 goto fail; in netns_setup_links_and_routes()
210 goto fail; in netns_setup_links_and_routes()
213 goto fail; in netns_setup_links_and_routes()
217 goto fail; in netns_setup_links_and_routes()
221 goto fail; in netns_setup_links_and_routes()
[all...]
H A Ddecap_sanity.c32 SYS(fail, "ip netns add %s", NS_TEST); in test_decap_sanity()
33 SYS(fail, "ip -net %s -6 addr add %s/128 dev lo nodad", NS_TEST, IPV6_IFACE_ADDR); in test_decap_sanity()
34 SYS(fail, "ip -net %s link set dev lo up", NS_TEST); in test_decap_sanity()
38 goto fail; in test_decap_sanity()
42 goto fail; in test_decap_sanity()
46 goto fail; in test_decap_sanity()
51 goto fail; in test_decap_sanity()
57 goto fail; in test_decap_sanity()
60 goto fail; in test_decap_sanity()
64 goto fail; in test_decap_sanity()
[all...]
/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-6.6/security/apparmor/
H A Dpolicy_unpack.c181 goto fail; in aa_unpack_u16_chunk()
185 goto fail; in aa_unpack_u16_chunk()
190 fail: in aa_unpack_u16_chunk()
239 goto fail; in aa_unpack_nameX()
241 /* if a name is specified and there is no name tag fail */ in aa_unpack_nameX()
242 goto fail; in aa_unpack_nameX()
249 fail: in aa_unpack_nameX()
261 goto fail; in unpack_u8()
268 fail: in unpack_u8()
279 goto fail; in aa_unpack_u32()
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-6.6/tools/testing/selftests/gpio/
H A Dgpio-sim.sh9 fail() { function
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"
73 echo $LABEL > $CONFIGFS_DIR/$CHIP/$BANK/label || fail "Unable to set the chip label"
82 fail "Unable to set the number of lines"
93 echo $NAME > $LINE_DIR/name || fail "Unable to set the line name"
99 echo 1 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to enable the chip"
105 echo 0 > $CONFIGFS_DIR/$CHIP/live || fail "Unable to disable the chip"
113 fail "unabl
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dkhugepaged.c117 static void fail(const char *msg) in fail() function
522 fail("Fail"); in alloc_at_fault()
531 fail("Fail"); in alloc_at_fault()
542 fail("Timeout"); in collapse_full()
546 fail("Fail"); in collapse_full()
557 fail("Timeout"); in collapse_empty()
559 fail("Fail"); in collapse_empty()
572 fail("Timeout"); in collapse_single_pte_entry()
576 fail("Fail"); in collapse_single_pte_entry()
594 fail("Timeou in collapse_max_ptes_none()
[all...]
/kernel/linux/linux-5.10/security/apparmor/
H A Dpolicy_unpack.c228 goto fail; in unpack_u16_chunk()
232 goto fail; in unpack_u16_chunk()
237 fail: in unpack_u16_chunk()
284 goto fail; in unpack_nameX()
286 /* if a name is specified and there is no name tag fail */ in unpack_nameX()
287 goto fail; in unpack_nameX()
294 fail: in unpack_nameX()
305 goto fail; in unpack_u8()
312 fail: in unpack_u8()
323 goto fail; in unpack_u32()
[all...]
H A Dcrypto.c39 goto fail; in aa_calc_hash()
45 goto fail; in aa_calc_hash()
48 goto fail; in aa_calc_hash()
51 goto fail; in aa_calc_hash()
55 fail: in aa_calc_hash()
76 goto fail; in aa_calc_profile_hash()
82 goto fail; in aa_calc_profile_hash()
85 goto fail; in aa_calc_profile_hash()
88 goto fail; in aa_calc_profile_hash()
91 goto fail; in aa_calc_profile_hash()
[all...]
/kernel/linux/linux-5.10/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...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/lib/
H A Dtest_string.c24 goto fail; in memset16_selftest()
27 goto fail; in memset16_selftest()
30 goto fail; in memset16_selftest()
36 fail: in memset16_selftest()
60 goto fail; in memset32_selftest()
63 goto fail; in memset32_selftest()
66 goto fail; in memset32_selftest()
72 fail: in memset32_selftest()
96 goto fail; in memset64_selftest()
99 goto fail; in memset64_selftest()
[all...]
/kernel/linux/linux-6.6/lib/
H A Dtest_string.c24 goto fail; in memset16_selftest()
27 goto fail; in memset16_selftest()
30 goto fail; in memset16_selftest()
36 fail: in memset16_selftest()
60 goto fail; in memset32_selftest()
63 goto fail; in memset32_selftest()
66 goto fail; in memset32_selftest()
72 fail: in memset32_selftest()
96 goto fail; in memset64_selftest()
99 goto fail; in memset64_selftest()
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/proc/
H 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("/pro in main()
[all...]
H 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("/pro in main()
[all...]

Completed in 14 milliseconds

12345678910>>...94