Searched refs:should_fail (Results 1 – 25 of 37) sorted by relevance
12
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/ |
D | tc_flower_scale.sh | 71 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 if [[ $should_fail -eq 0 ]]; then 104 check_err_fail $should_fail $? "Offload more than expacted" 111 local should_fail=$1; shift 126 __tc_flower_test $count $should_fail
|
D | tc_police_scale.sh | 37 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
|
D | mirror_gre_scale.sh | 52 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 136 local should_fail=$1; shift 144 __mirror_gre_test $count $should_fail
|
D | mirror_gre.sh | 153 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"
|
D | router_scale.sh | 114 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.10/tools/testing/selftests/drivers/net/mlxsw/spectrum-2/ |
D | resource_scale.sh | 38 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
|
D | tc_flower_scale.sh | 6 local should_fail=$1; shift 15 if ((! should_fail)); then
|
D | mirror_gre_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
D | tc_police_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
D | router_scale.sh | 6 local should_fail=$1 11 if [[ $should_fail -eq 0 ]]; then
|
/Linux-v5.10/tools/testing/selftests/drivers/net/mlxsw/spectrum/ |
D | resource_scale.sh | 40 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
|
D | tc_flower_scale.sh | 6 local should_fail=$1; shift 14 if ((! should_fail)); then
|
D | mirror_gre_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
D | tc_police_scale.sh | 6 local should_fail=$1; shift 11 if ((! should_fail)); then
|
D | router_scale.sh | 6 local should_fail=$1 11 if [[ $should_fail -eq 0 ]]; then
|
/Linux-v5.10/tools/testing/selftests/net/ |
D | devlink_port_split.py | 24 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)
|
/Linux-v5.10/tools/testing/selftests/net/forwarding/ |
D | fib_offload_lib.sh | 10 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.10/lib/ |
D | fault-inject-usercopy.c | 37 return should_fail(&fail_usercopy.attr, 1); in should_fail_usercopy()
|
D | fault-inject.c | 103 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() function 153 EXPORT_SYMBOL_GPL(should_fail);
|
/Linux-v5.10/mm/ |
D | failslab.c | 33 return should_fail(&failslab.attr, s->object_size); in __should_failslab()
|
/Linux-v5.10/Documentation/fault-injection/ |
D | nvme-fault-injection.rst | 40 should_fail+0x148/0x170 97 should_fail+0x148/0x170 147 should_fail+0x14a/0x170
|
D | fault-injection.rst | 74 should_fail() that pass all the other tests. 87 on each call to should_fail(,size). Failure injection is 243 Upon should_fail() returning true, client code should inject a failure: 245 should_fail(attr, size);
|
/Linux-v5.10/include/linux/ |
D | fault-inject.h | 46 bool should_fail(struct fault_attr *attr, ssize_t size);
|
/Linux-v5.10/drivers/nvme/host/ |
D | fault_inject.c | 74 if (fault_inject && should_fail(&fault_inject->attr, 1)) { in nvme_should_fail()
|
/Linux-v5.10/block/ |
D | blk-timeout.c | 25 return should_fail(&fail_io_timeout, 1); in __blk_should_fake_timeout()
|
12