Searched refs:expected_value (Results 1 – 4 of 4) sorted by relevance
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_get_xattr.c | 17 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 D | global_func_args.c | 19 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 D | functions.sh | 371 # check_sysfs_value(modname, rel_path, expected_value) - check sysfs value 374 # expected_value - expected value read from the file 378 local expected_value="$1"; shift 382 if test "$value" != "$expected_value" ; then 383 die "Unexpected value in $path: $expected_value vs. $value"
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| H A D | devlink.sh | 797 local expected_value=${bw##*:} 803 [ "$api_value" == "$expected_value" ] 804 check_err $? "Unexpected tc-bw value for tc$tc: $api_value != $expected_value"
|