Home
last modified time | relevance | path

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

12

/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/
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
65 check_err_fail $should_fail $? "tc police offload count"
71 local should_fail=$1; shift
78 __tc_police_test $count $should_fail
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
Dport_scale.sh30 local should_fail=$1; shift
52 local should_fail=$1; shift
54 split_all_ports $should_fail
60 check_err_fail $should_fail $? "Attempt to create $max_ports ports (actual result $occ)"
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
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"
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
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/
Dresource_scale.sh39 for should_fail in 0 1; do
41 target=$(${current_test}_get_target "$should_fail")
44 ${current_test}_test "$target" "$should_fail"
47 if [[ "$should_fail" -eq 0 ]]; then
Dtc_flower_scale.sh6 local should_fail=$1; shift
15 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Dport_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/Linux-v5.15/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Dresource_scale.sh41 for should_fail in 0 1; do
43 target=$(${current_test}_get_target "$should_fail")
46 ${current_test}_test "$target" "$should_fail"
48 if [[ "$should_fail" -eq 0 ]]; then
Dtc_flower_scale.sh6 local should_fail=$1; shift
14 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Dport_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Dtc_police_scale.sh6 local should_fail=$1; shift
11 if ((! should_fail)); then
Drouter_scale.sh6 local should_fail=$1
11 if [[ $should_fail -eq 0 ]]; then
/Linux-v5.15/tools/testing/selftests/net/
Ddevlink_port_split.py26 def run_command(cmd, should_fail=False): argument
36 if stderr != "" and not should_fail:
105 def split(k, port, should_fail=False): argument
114 stdout, stderr = run_command(cmd, should_fail=should_fail)
116 if should_fail:
196 new_split_group = split(k, port, should_fail=True)
/Linux-v5.15/drivers/scsi/ufs/
Dufs-fault-injection.c64 return should_fail(&ufs_trigger_eh_attr, 1); in ufs_trigger_eh()
69 return should_fail(&ufs_timeout_attr, 1); in ufs_fail_completion()
/Linux-v5.15/tools/testing/selftests/net/forwarding/
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
/Linux-v5.15/lib/
Dfault-inject-usercopy.c37 return should_fail(&fail_usercopy.attr, 1); in should_fail_usercopy()
Dfault-inject.c103 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() function
153 EXPORT_SYMBOL_GPL(should_fail);
/Linux-v5.15/mm/
Dfailslab.c33 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
/Linux-v5.15/Documentation/fault-injection/
Dnvme-fault-injection.rst40 should_fail+0x148/0x170
97 should_fail+0x148/0x170
147 should_fail+0x14a/0x170

12