Home
last modified time | relevance | path

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

/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
66 check_err_fail $should_fail $? "tc police offload count"
72 local should_fail=$1; shift
79 __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
/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
/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
Dport_scale.sh6 local should_fail=$1
11 if ((! should_fail)); then
Dmirror_gre_scale.sh6 local should_fail=$1; shift
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
/tools/testing/selftests/net/
Ddevlink_port_split.py26 def run_command(cmd, should_fail=False): argument
36 if stderr != "" and not should_fail:
107 def split(k, port, should_fail=False): argument
116 stdout, stderr = run_command(cmd, should_fail=should_fail)
118 if should_fail:
198 new_split_group = split(k, port, should_fail=True)
/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
Dlib.sh261 local should_fail=$1; shift
265 if ((should_fail)); then
1472 local should_fail=1
1475 should_fail=0
1485 check_err_fail $should_fail $? "Entry $src has zero timer"
1491 check_err_fail $should_fail $? "Entry $src has blocked flag"
/tools/testing/selftests/vm/
Dmremap_test.c56 overlaps, should_fail, test_name) \ argument
65 .expect_failure = should_fail \