Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dtest_get_xattr.c17 static const char expected_value[] = "hello";
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))
76 if (ret != sizeof(expected_value))
78 if (bpf_strncmp(value2, ret, expected_value))
16 static const char expected_value[] = "hello"; global() variable
/linux/tools/testing/selftests/bpf/prog_tests/
H 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()
/linux/tools/testing/selftests/livepatch/
H A Dfunctions.sh366 local expected_value="$1"; shift
370 if test "$value" != "$expected_value" ; then
371 die "Unexpected value in $path: $expected_value vs. $value"
/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh797 local expected_value=${bw##*:}
803 [ "$api_value" == "$expected_value" ]
804 check_err $? "Unexpected tc-bw value for tc$tc: $api_value != $expected_value"