Home
last modified time | relevance | path

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

/Linux-v6.6/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()
/Linux-v6.6/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'"
/Linux-v6.6/tools/testing/selftests/kvm/lib/
Dassert.c70 test_assert(bool exp, const char *exp_str, in test_assert() argument
81 file, line, exp_str, getpid(), _gettid(), in test_assert()
/Linux-v6.6/drivers/iio/test/
Diio-test-rescale.c623 static int iio_test_relative_error_ppm(const char *real_str, const char *exp_str) in iio_test_relative_error_ppm() argument
632 ret = iio_str_to_nano(exp_str, &exp); in iio_test_relative_error_ppm()
/Linux-v6.6/tools/testing/selftests/kvm/include/
Dtest_util.h49 void test_assert(bool exp, const char *exp_str,
/Linux-v6.6/lib/
Dtest_bitmap.c164 const char *exp_str, const char *str, in __check_eq_str() argument
169 eq = strncmp(exp_str, str, len) == 0; in __check_eq_str()
171 pr_err("[%s:%u] expected %s, got %s\n", srcfile, line, exp_str, str); in __check_eq_str()