Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dvarlen.c20 const char exp_str[] = "Hello, \0World!\0"; in test_varlen() local
46 CHECK(memcmp(bss->payload1, exp_str, size1 + size2), "content_check", in test_varlen()
52 CHECK(memcmp(data->payload2, exp_str, size1 + size2), "content_check", in test_varlen()
58 CHECK(memcmp(data->payload3, exp_str, size1 + size2), "content_check", in test_varlen()
64 CHECK(memcmp(data->payload4, exp_str, size1 + size2), "content_check", in test_varlen()
/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-common.sh26 local exp_str=$3
36 if [ "$str" != "$exp_str" ]; then
37 echo -e "Expected: '$exp_str', got '$str'"
/tools/testing/selftests/kvm/lib/
Dassert.c64 test_assert(bool exp, const char *exp_str, in test_assert() argument
75 file, line, exp_str, getpid(), _gettid(), in test_assert()
/tools/testing/selftests/kvm/include/
Dtest_util.h42 void test_assert(bool exp, const char *exp_str,