Home
last modified time | relevance | path

Searched refs:expected_value (Results 1 – 4 of 4) sorted by relevance

/tools/testing/selftests/bpf/progs/
A Dtest_get_xattr.c17 static const char expected_value[] = "hello"; variable
47 if (ret == sizeof(expected_value)) in BPF_PROG()
50 if (ret != sizeof(expected_value)) in BPF_PROG()
52 if (bpf_strncmp(value1, ret, expected_value)) in BPF_PROG()
73 if (ret == sizeof(expected_value)) in BPF_PROG()
76 if (ret != sizeof(expected_value)) in BPF_PROG()
78 if (bpf_strncmp(value2, ret, expected_value)) in BPF_PROG()
/tools/testing/selftests/bpf/prog_tests/
A Dglobal_func_args.c19 int expected_value; in test_global_func_args0() member
31 const int expected_value = tests[i].expected_value; in test_global_func_args0() local
35 CHECK(err || actual_value != expected_value, tests[i].descr, in test_global_func_args0()
36 "err %d result %d expected %d\n", err, actual_value, expected_value); in test_global_func_args0()
/tools/testing/selftests/livepatch/
A Dfunctions.sh362 local expected_value="$1"; shift
366 if test "$value" != "$expected_value" ; then
367 die "Unexpected value in $path: $expected_value vs. $value"
/tools/testing/selftests/drivers/net/netdevsim/
A Ddevlink.sh642 local expected_value=${bw##*:}
648 [ "$api_value" == "$expected_value" ]
649 check_err $? "Unexpected tc-bw value for tc$tc: $api_value != $expected_value"

Completed in 17 milliseconds