Re: [PATCH] SUNRPC: Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG()
From: Chuck Lever
Date: Sat Jan 24 2026 - 21:47:07 EST
From: Chuck Lever <chuck.lever@xxxxxxxxxx>
On Sat, 24 Jan 2026 14:17:19 +0900, Ryota Sakamoto wrote:
> Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG() to improve
> debugging that prints the hex dump of the buffers when the assertion fails,
> whereas memcmp() only returns an integer difference.
>
>
Applied to nfsd-testing, thanks!
[1/1] SUNRPC: Replace KUnit tests for memcmp() with KUNIT_EXPECT_MEMEQ_MSG()
commit: 63c04545fa093cd399132519a974fca2f1e9aaea
--
Chuck Lever