| /linux/drivers/rtc/ |
| H A D | test_rtc_lib.c | 61 KUNIT_ASSERT_EQ_MSG(test, year - 1900, result.tm_year, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 62 KUNIT_ASSERT_EQ_MSG(test, month - 1, result.tm_mon, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 63 KUNIT_ASSERT_EQ_MSG(test, mday, result.tm_mday, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 64 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 65 KUNIT_ASSERT_EQ_MSG(test, 1, result.tm_hour, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 66 KUNIT_ASSERT_EQ_MSG(test, 2, result.tm_min, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 67 KUNIT_ASSERT_EQ_MSG(test, 3, result.tm_sec, FAIL_MSG); in rtc_time64_to_tm_test_date_range() 68 KUNIT_ASSERT_EQ_MSG(test, wday, result.tm_wday, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
|
| /linux/lib/tests/ |
| H A D | string_kunit.c | 49 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1, in string_test_memset16() 52 KUNIT_ASSERT_EQ_MSG(test, v, 0xb1b2, in string_test_memset16() 55 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1, in string_test_memset16() 78 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1, in string_test_memset32() 81 KUNIT_ASSERT_EQ_MSG(test, v, 0xb1b2b3b4, in string_test_memset32() 84 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1, in string_test_memset32() 107 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1a1a1a1a1ULL, in string_test_memset64() 110 KUNIT_ASSERT_EQ_MSG(test, v, 0xb1b2b3b4b5b6b7b8ULL, in string_test_memset64() 113 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1a1a1a1a1ULL, in string_test_memset64() 188 KUNIT_ASSERT_EQ_MSG(test, result - test_string, i, in string_test_strchr() [all …]
|
| H A D | test_ratelimit.c | 125 KUNIT_ASSERT_EQ_MSG(test, skt.nunlimited + skt.nlimited, skt.nattempts, in test_ratelimit_stress() 127 KUNIT_ASSERT_EQ_MSG(test, skt.nlimited, skt.nmissed, "Misses not equal to limits"); in test_ratelimit_stress()
|
| H A D | stackinit_kunit.c | 233 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \ 255 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \
|
| /linux/kernel/ |
| H A D | crash_core_test.c | 47 KUNIT_ASSERT_EQ_MSG(test, expected_nr_ranges, actual_nr_ranges, in assert_ranges_equal() 51 KUNIT_ASSERT_EQ_MSG(test, expected_ranges[i].start, actual_ranges[i].start, in assert_ranges_equal() 53 KUNIT_ASSERT_EQ_MSG(test, expected_ranges[i].end, actual_ranges[i].end, in assert_ranges_equal() 85 KUNIT_ASSERT_EQ_MSG(test, params->expected_ret, ret, in run_exclude_test_case() 96 KUNIT_ASSERT_EQ_MSG(test, params->initial_nr_ranges, in run_exclude_test_case()
|
| H A D | resource_kunit.c | 185 KUNIT_ASSERT_EQ_MSG(test, 0, in resource_test_add_action_or_abort()
|
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_iommu.h | 40 KUNIT_ASSERT_EQ_MSG(test, ret, 0, KUNIT_SUBSUBTEST_INDENT "errno %pe", \ 44 KUNIT_ASSERT_EQ_MSG(test, ret, 0, \
|
| /linux/fs/ext4/ |
| H A D | mballoc-test.c | 422 KUNIT_ASSERT_EQ_MSG(test, ar.goal, found, in test_new_blocks_simple() 429 KUNIT_ASSERT_EQ_MSG(test, ar.goal + EXT4_C2B(sbi, 1), found, in test_new_blocks_simple() 437 KUNIT_ASSERT_EQ_MSG(test, in test_new_blocks_simple() 447 KUNIT_ASSERT_EQ_MSG(test, in test_new_blocks_simple() 501 KUNIT_ASSERT_EQ_MSG(test, bit, max, in validate_free_blocks_simple() 692 KUNIT_ASSERT_EQ_MSG(test, grp1->bb_counters[i], in mbt_validate_group_info()
|
| /linux/drivers/gpu/drm/tests/ |
| H A D | drm_plane_helper_test.c | 117 KUNIT_ASSERT_EQ_MSG(test, in drm_test_check_plane_state()
|
| /linux/lib/kunit/ |
| H A D | executor_test.c | 132 KUNIT_ASSERT_EQ_MSG(test, err, 0, "failed to parse filter from '%s'", filters); in parse_filter_attr_test()
|
| /linux/net/mctp/test/ |
| H A D | utils.c | 223 KUNIT_ASSERT_EQ_MSG(test, refs, 1, "route ref imbalance"); in mctp_test_route_destroy()
|
| /linux/include/kunit/ |
| H A D | test.h | 1413 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL) 1415 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ macro
|