/openbmc/linux/lib/ |
H A D | strcat_kunit.c | 22 KUNIT_EXPECT_STREQ(test, dest, ""); in strcat_test() 25 KUNIT_EXPECT_STREQ(test, dest, "four"); in strcat_test() 29 KUNIT_EXPECT_STREQ(test, dest, "fourAB"); in strcat_test() 41 KUNIT_EXPECT_STREQ(test, dest, ""); in strncat_test() 44 KUNIT_EXPECT_STREQ(test, dest, ""); in strncat_test() 47 KUNIT_EXPECT_STREQ(test, dest, ""); in strncat_test() 51 KUNIT_EXPECT_STREQ(test, dest, "four"); in strncat_test() 56 KUNIT_EXPECT_STREQ(test, dest, "fourAB"); in strncat_test() 68 KUNIT_EXPECT_STREQ(test, dest, ""); in strlcat_test() 71 KUNIT_EXPECT_STREQ(test, dest, ""); in strlcat_test() [all …]
|
/openbmc/linux/lib/kunit/ |
H A D | executor_test.c | 31 KUNIT_EXPECT_STREQ(test, filter.suite_glob, "suite"); in parse_filter_test() 37 KUNIT_EXPECT_STREQ(test, filter.suite_glob, "suite"); in parse_filter_test() 38 KUNIT_EXPECT_STREQ(test, filter.test_glob, "test"); in parse_filter_test() 63 KUNIT_EXPECT_STREQ(test, (const char *)got.start[0]->name, "suite2"); in filter_suites_test() 89 KUNIT_EXPECT_STREQ(test, (const char *)got.start[0]->name, "suite2"); in filter_suites_test_glob_test() 136 KUNIT_EXPECT_STREQ(test, parsed_filters[0].input, ">slow"); in parse_filter_attr_test() 139 KUNIT_EXPECT_STREQ(test, parsed_filters[1].input, "!=example"); in parse_filter_attr_test() 179 KUNIT_EXPECT_STREQ(test, got.start[0]->name, "normal_suite"); in filter_attr_test() 184 KUNIT_EXPECT_STREQ(test, got.start[0]->test_cases[0].name, "normal"); in filter_attr_test() 230 KUNIT_EXPECT_STREQ(test, got.start[0]->test_cases[0].name, "slow"); in filter_attr_skip_test() [all …]
|
H A D | kunit-example-test.c | 133 KUNIT_EXPECT_STREQ(test, "hi", "hi"); in example_all_expect_macros_test()
|
H A D | kunit-test.c | 601 KUNIT_EXPECT_STREQ(test, fake.status_comment, ""); in kunit_status_mark_skipped_test() 608 KUNIT_EXPECT_STREQ(test, fake.status_comment, "Accepts format string: YES"); in kunit_status_mark_skipped_test()
|
/openbmc/linux/mm/damon/ |
H A D | dbgfs-test.h | 81 KUNIT_EXPECT_STREQ(test, (char *)buf, "\n"); in damon_dbgfs_test_set_targets() 85 KUNIT_EXPECT_STREQ(test, (char *)buf, "42\n"); in damon_dbgfs_test_set_targets() 89 KUNIT_EXPECT_STREQ(test, (char *)buf, "\n"); in damon_dbgfs_test_set_targets() 129 KUNIT_EXPECT_STREQ(test, (char *)buf, expect); in damon_dbgfs_test_set_init_regions() 141 KUNIT_EXPECT_STREQ(test, (char *)buf, ""); in damon_dbgfs_test_set_init_regions()
|
/openbmc/linux/drivers/base/test/ |
H A D | property-entry-test.c | 276 KUNIT_EXPECT_STREQ(test, str, "single"); in pe_test_strings() 283 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 288 KUNIT_EXPECT_STREQ(test, strs[0], "single"); in pe_test_strings() 298 KUNIT_EXPECT_STREQ(test, str, ""); in pe_test_strings() 305 KUNIT_EXPECT_STREQ(test, strs[0], "string-a"); in pe_test_strings() 306 KUNIT_EXPECT_STREQ(test, strs[1], "string-b"); in pe_test_strings() 310 KUNIT_EXPECT_STREQ(test, strs[0], "string-a"); in pe_test_strings() 319 KUNIT_EXPECT_STREQ(test, str, "string-a"); in pe_test_strings() 396 KUNIT_EXPECT_STREQ(test, data_ptr[0], "b"); in pe_test_move_inline_str() 397 KUNIT_EXPECT_STREQ(test, data_ptr[1], "c"); in pe_test_move_inline_str() [all …]
|
/openbmc/linux/net/mptcp/ |
H A D | crypto_test.c | 56 KUNIT_EXPECT_STREQ(test, &hmac_hex[0], tests[i].result); in mptcp_crypto_test_basic()
|
/openbmc/linux/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api_debugfs_kunit.c | 377 KUNIT_EXPECT_STREQ(test, test_expected, test_pr_buffer[0]); in vcap_api_show_admin_raw_test() 423 KUNIT_EXPECT_STREQ(test, test_admin_info_expect[idx], in vcap_api_show_admin_test() 536 KUNIT_EXPECT_STREQ(test, test_admin_expect[idx], in vcap_api_show_admin_rule_test()
|
/openbmc/linux/kernel/ |
H A D | sysctl-test.c | 206 KUNIT_EXPECT_STREQ(test, "13\n", buffer); in sysctl_test_dointvec_read_happy_single_positive() 235 KUNIT_EXPECT_STREQ(test, "-16\n", buffer); in sysctl_test_dointvec_read_happy_single_negative()
|
/openbmc/linux/security/apparmor/ |
H A D | policy_unpack_test.c | 239 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_str_with_null_name() 251 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_str_with_name() 283 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_strdup_with_null_name() 298 KUNIT_EXPECT_STREQ(test, string, TEST_STRING_DATA); in policy_unpack_test_unpack_strdup_with_name()
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_cmdline_parser_test.c | 492 KUNIT_EXPECT_STREQ(test, mode.name, "NTSC"); in drm_test_cmdline_name() 504 KUNIT_EXPECT_STREQ(test, mode.name, "NTSC"); in drm_test_cmdline_name_bpp() 520 KUNIT_EXPECT_STREQ(test, mode.name, "NTSC"); in drm_test_cmdline_name_option() 532 KUNIT_EXPECT_STREQ(test, mode.name, "NTSC"); in drm_test_cmdline_name_bpp_option()
|
/openbmc/linux/drivers/iio/test/ |
H A D | iio-test-format.c | 12 KUNIT_EXPECT_STREQ(_test, (_buf), (_val)); \
|
H A D | iio-test-rescale.c | 697 KUNIT_EXPECT_STREQ(test, strim(buff_off), t->expected_off); in iio_rescale_test_offset()
|
/openbmc/linux/Documentation/dev-tools/kunit/api/ |
H A D | functionredirection.rst | 80 KUNIT_EXPECT_STREQ(test, str, "Hello World!");
|
/openbmc/linux/drivers/clk/ |
H A D | clk-gate_test.c | 22 KUNIT_EXPECT_STREQ(test, "test_gate", clk_hw_get_name(ret)); in clk_gate_register_test_dev()
|
/openbmc/linux/include/kunit/ |
H A D | test.h | 1042 #define KUNIT_EXPECT_STREQ(test, left, right) \ macro
|
/openbmc/linux/drivers/thunderbolt/ |
H A D | test.c | 2679 KUNIT_EXPECT_STREQ(test, p->value.text, "Apple Inc."); in tb_test_property_parse() 2687 KUNIT_EXPECT_STREQ(test, p->value.text, "Macintosh"); in tb_test_property_parse()
|
/openbmc/linux/Documentation/dev-tools/kunit/ |
H A D | usage.rst | 492 Note the use of the ``_MSG`` version of ``KUNIT_EXPECT_STREQ`` to print a more
|