kunit: Add KUnit memory block assertions to the example_all_expect_macros_test
authorMaíra Canal <mairacanal@riseup.net>
Tue, 25 Oct 2022 23:10:42 +0000 (20:10 -0300)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 27 Oct 2022 08:39:59 +0000 (02:39 -0600)
commit3b30fb62ec23b42be33d94ebf825d27daf508e8e
tree818ebcd278b46a808dd6705263bf89cc7dbe4d98
parentb8a926bea8b1e790b0afe21359c086e3ee08aee5
kunit: Add KUnit memory block assertions to the example_all_expect_macros_test

Augment the example_all_expect_macros_test with the KUNIT_EXPECT_MEMEQ
and KUNIT_EXPECT_MEMNEQ macros by creating a test with memory block
assertions.

Signed-off-by: Maíra Canal <mairacanal@riseup.net>
Reviewed-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
lib/kunit/kunit-example-test.c