Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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()
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Dethtool-common.sh26 local exp_str=$3
36 if [ "$str" != "$exp_str" ]; then
37 echo -e "Expected: '$exp_str', got '$str'"
/openbmc/linux/tools/testing/selftests/kvm/lib/
H A Dassert.c70 test_assert(bool exp, const char *exp_str, in test_assert() argument
81 file, line, exp_str, getpid(), _gettid(), in test_assert()
/openbmc/linux/drivers/iio/test/
H A 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()
/openbmc/linux/tools/testing/selftests/kvm/include/
H A Dtest_util.h49 void test_assert(bool exp, const char *exp_str,
/openbmc/linux/lib/
H A 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()