Home
last modified time | relevance | path

Searched refs:should_fail (Results 1 – 25 of 38) sorted by relevance

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/
H A Dtc_police_scale.sh37 local should_fail=$1; shift
53 check_err_fail $should_fail $? "Rule insertion"
59 local should_fail=$1; shift
61 tc_police_rules_create $count $should_fail
66 check_err_fail $should_fail $? "tc police offload count"
72 local should_fail=$1; shift
79 __tc_police_test $count $should_fail
H A Dtc_flower_scale.sh71 local should_fail=$1; shift
86 check_err_fail $should_fail $? "Rule insertion"
92 local should_fail=$1; shift
95 tc_flower_rules_create $count $should_fail
101 …check_err_fail $should_fail $? "Attempt to offload $count rules (actual result $((offload_count - …
107 local should_fail=$1; shift
122 __tc_flower_test $count $should_fail
H A Dmirror_gre_scale.sh52 local should_fail=$1; shift
88 check_err_fail $should_fail $? "Mirror rule insertion"
113 local should_fail=$1; shift
115 mirror_gre_tunnels_create $count $should_fail
116 if ((should_fail)); then
137 local should_fail=$1; shift
145 __mirror_gre_test $count $should_fail
H A Dmirror_gre.sh153 local should_fail=$1; shift
160 if ((should_fail)); then
167 log_test "$what: should_fail=$should_fail ($tcflags)"
172 local should_fail=$1; shift
174 test_span_failable $should_fail gt6-key "mirror to keyful gretap"
175 test_span_failable $should_fail gt6-soft "mirror to gretap w/ soft underlay"
H A Drouter_scale.sh114 local should_fail=$2
123 check_err_fail $should_fail $? "Offload routes: Expected $route_count, got $delta."
124 if [[ $RET -ne 0 ]] || [[ $should_fail -eq 1 ]]; then
/OK3568_Linux_fs/buildroot/package/iputils/
H A D0001-meson-Make-tests-optional.patch78 - should_fail = false
83 - should_fail = true
88 - test(name, ping, args : args, should_fail : should_fail)
118 - test(name, ping, args : args, should_fail : true)
129 - test(name, ping, args : args, should_fail : not run_as_root)
165 + should_fail = false
170 + should_fail = true
175 + test(name, ping, args : args, should_fail : should_fail)
205 + test(name, ping, args : args, should_fail : true)
216 + test(name, ping, args : args, should_fail : not run_as_root)
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Ddevlink_port_split.py24 def run_command(cmd, should_fail=False): argument
34 if stderr != "" and not should_fail:
103 def split(k, port, should_fail=False): argument
112 stdout, stderr = run_command(cmd, should_fail=should_fail)
114 if should_fail:
194 new_split_group = split(k, port, should_fail=True)
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
H A Dresource_scale.sh38 for should_fail in 0 1; do
40 target=$(${current_test}_get_target "$should_fail")
43 ${current_test}_test "$target" "$should_fail"
46 if [[ "$should_fail" -eq 0 ]]; then
H A Dtc_flower_scale.sh6 local should_fail=$1; shift
15 if ((! should_fail)); then
H A Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
H A Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
H A Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/OK3568_Linux_fs/kernel/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Dresource_scale.sh40 for should_fail in 0 1; do
42 target=$(${current_test}_get_target "$should_fail")
45 ${current_test}_test "$target" "$should_fail"
47 if [[ "$should_fail" -eq 0 ]]; then
H A Dtc_flower_scale.sh6 local should_fail=$1; shift
14 if ((! should_fail)); then
H A Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
H A Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
H A Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dfib_offload_lib.sh10 local should_fail=$1; shift
16 if [[ $should_fail == "true" ]]; then
32 local should_fail=$1; shift
34 busywait 5000 __fib_trap_check $ns $family "$route" $should_fail
41 local should_fail=$1; shift
43 fib_trap_check $ns 4 "$route" $should_fail
50 local should_fail=$1; shift
52 fib_trap_check $ns 6 "$route" $should_fail
/OK3568_Linux_fs/kernel/lib/
H A Dfault-inject.c103 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() function
153 EXPORT_SYMBOL_GPL(should_fail);
H A Dfault-inject-usercopy.c37 return should_fail(&fail_usercopy.attr, 1); in should_fail_usercopy()
/OK3568_Linux_fs/kernel/Documentation/fault-injection/
H A Dnvme-fault-injection.rst40 should_fail+0x148/0x170
97 should_fail+0x148/0x170
147 should_fail+0x14a/0x170
/OK3568_Linux_fs/kernel/mm/
H A Dfailslab.c33 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
/OK3568_Linux_fs/kernel/include/linux/
H A Dfault-inject.h46 bool should_fail(struct fault_attr *attr, ssize_t size);
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dfault_inject.c74 if (fault_inject && should_fail(&fault_inject->attr, 1)) { in nvme_should_fail()
/OK3568_Linux_fs/kernel/block/
H A Dblk-timeout.c25 return should_fail(&fail_io_timeout, 1); in __blk_should_fake_timeout()

12