Home
last modified time | relevance | path

Searched refs:KUNIT_EXPECT_STREQ (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/base/test/
Dproperty-entry-test.c240 KUNIT_EXPECT_STREQ(test, str, "single"); in pe_test_strings()
244 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings()
249 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings()
259 KUNIT_EXPECT_STREQ(test, str, ""); in pe_test_strings()
263 KUNIT_EXPECT_STREQ(test, strs[0], "string-a"); in pe_test_strings()
264 KUNIT_EXPECT_STREQ(test, strs[1], "string-b"); in pe_test_strings()
268 KUNIT_EXPECT_STREQ(test, strs[0], "string-a"); in pe_test_strings()
277 KUNIT_EXPECT_STREQ(test, str, "string-a"); in pe_test_strings()
350 KUNIT_EXPECT_STREQ(test, copy[0].value.str[0], "a"); in pe_test_move_inline_str()
354 KUNIT_EXPECT_STREQ(test, data_ptr[0], "b"); in pe_test_move_inline_str()
[all …]
/kernel/linux/linux-5.10/net/mptcp/
Dcrypto_test.c56 KUNIT_EXPECT_STREQ(test, &hmac_hex[0], tests[i].result); in mptcp_crypto_test_basic()
/kernel/linux/linux-5.10/kernel/
Dsysctl-test.c209 KUNIT_EXPECT_STREQ(test, "13\n", buffer); in sysctl_test_dointvec_read_happy_single_positive()
238 KUNIT_EXPECT_STREQ(test, "-16\n", (char *)buffer); in sysctl_test_dointvec_read_happy_single_negative()
/kernel/linux/linux-5.10/security/apparmor/
Dpolicy_unpack_test.c241 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_str_with_null_name()
253 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_str_with_name()
285 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_strdup_with_null_name()
300 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_strdup_with_name()
/kernel/linux/linux-5.10/include/kunit/
Dtest.h1415 #define KUNIT_EXPECT_STREQ(test, left, right) \ macro