Home
last modified time | relevance | path

Searched refs:KUNIT_ASSERT_EQ_MSG (Results 1 – 14 of 14) sorted by relevance

/linux-6.15/lib/tests/
H A Dstring_kunit.c35 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1, in string_test_memset16()
38 KUNIT_ASSERT_EQ_MSG(test, v, 0xb1b2, in string_test_memset16()
41 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1, in string_test_memset16()
64 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1, in string_test_memset32()
67 KUNIT_ASSERT_EQ_MSG(test, v, 0xb1b2b3b4, in string_test_memset32()
70 KUNIT_ASSERT_EQ_MSG(test, v, 0xa1a1a1a1, in string_test_memset32()
116 KUNIT_ASSERT_EQ_MSG(test, result - test_string, i, in string_test_strchr()
375 KUNIT_ASSERT_EQ_MSG(test, buf[count - 1], '\0', in strscpy_check()
380 KUNIT_ASSERT_EQ_MSG(test, buf[i], src[i], in strscpy_check()
389 KUNIT_ASSERT_EQ_MSG(test, buf[index], '\0', in strscpy_check()
[all …]
H A Dmemcpy_kunit.c34 KUNIT_ASSERT_EQ_MSG(test, instance.data[i], v, \
345 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test()
349 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test()
354 KUNIT_ASSERT_EQ_MSG(test, in copy_large_test()
409 KUNIT_ASSERT_EQ_MSG(test, memcmp(&large_dst[d_off], large_src, bytes), 0, in inner_loop()
437 KUNIT_ASSERT_EQ_MSG(test, in inner_loop()
443 KUNIT_ASSERT_EQ_MSG(test, in inner_loop()
448 KUNIT_ASSERT_EQ_MSG(test, in inner_loop()
H A Dusercopy_kunit.c97 KUNIT_ASSERT_EQ_MSG(test, retval, expected, in usercopy_test_check_nonzero_user()
122 KUNIT_ASSERT_EQ_MSG(test, copy_to_user(umem, umem_src, size), 0, in usercopy_test_copy_struct_from_user()
H A Dstackinit_kunit.c233 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \
255 KUNIT_ASSERT_EQ_MSG(test, sum, 0, \
H A Dstring_helpers_kunit.c20 KUNIT_ASSERT_EQ_MSG(test, q_real, q_test, "name:%s", name); in test_string_check_buf()
/linux-6.15/drivers/rtc/
H A Dlib_test.c60 KUNIT_ASSERT_EQ_MSG(test, year - 1900, result.tm_year, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
61 KUNIT_ASSERT_EQ_MSG(test, month - 1, result.tm_mon, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
62 KUNIT_ASSERT_EQ_MSG(test, mday, result.tm_mday, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
63 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in rtc_time64_to_tm_test_date_range()
/linux-6.15/kernel/time/
H A Dtime_test.c79 KUNIT_ASSERT_EQ_MSG(test, year - 1900, result.tm_year, FAIL_MSG); in time64_to_tm_test_date_range()
80 KUNIT_ASSERT_EQ_MSG(test, month - 1, result.tm_mon, FAIL_MSG); in time64_to_tm_test_date_range()
81 KUNIT_ASSERT_EQ_MSG(test, mdday, result.tm_mday, FAIL_MSG); in time64_to_tm_test_date_range()
82 KUNIT_ASSERT_EQ_MSG(test, yday, result.tm_yday, FAIL_MSG); in time64_to_tm_test_date_range()
/linux-6.15/lib/math/tests/
H A Dprime_numbers_kunit.c28 KUNIT_ASSERT_EQ_MSG(test, slow, fast, "is-prime(%lu)", x); in prime_numbers_test()
34 KUNIT_ASSERT_EQ_MSG(test, next, x, "next-prime(%lu)", last); in prime_numbers_test()
/linux-6.15/fs/ext4/
H A Dmballoc-test.c417 KUNIT_ASSERT_EQ_MSG(test, ar.goal, found, in test_new_blocks_simple()
424 KUNIT_ASSERT_EQ_MSG(test, ar.goal + EXT4_C2B(sbi, 1), found, in test_new_blocks_simple()
432 KUNIT_ASSERT_EQ_MSG(test, in test_new_blocks_simple()
442 KUNIT_ASSERT_EQ_MSG(test, in test_new_blocks_simple()
496 KUNIT_ASSERT_EQ_MSG(test, bit, max, in validate_free_blocks_simple()
687 KUNIT_ASSERT_EQ_MSG(test, grp1->bb_counters[i], in mbt_validate_group_info()
/linux-6.15/drivers/gpu/drm/tests/
H A Ddrm_plane_helper_test.c117 KUNIT_ASSERT_EQ_MSG(test, in drm_test_check_plane_state()
/linux-6.15/lib/kunit/
H A Dexecutor_test.c132 KUNIT_ASSERT_EQ_MSG(test, err, 0, "failed to parse filter from '%s'", filters); in parse_filter_attr_test()
/linux-6.15/include/kunit/
H A Dtest.h1347 KUNIT_ASSERT_EQ_MSG(test, left, right, NULL)
1349 #define KUNIT_ASSERT_EQ_MSG(test, left, right, fmt, ...) \ macro
/linux-6.15/kernel/
H A Dresource_kunit.c185 KUNIT_ASSERT_EQ_MSG(test, 0, in resource_test_add_action_or_abort()
/linux-6.15/net/mctp/test/
H A Droute-test.c77 KUNIT_ASSERT_EQ_MSG(test, refs, 1, "route ref imbalance"); in mctp_test_route_destroy()