dd2f0a0a2f
In KUNIT_EXPECT_MEMEQ and KUNIT_EXPECT_MEMNEQ, add check if one of the
inputs is NULL and fail if this is the case.
Currently, the kernel crashes if one of the inputs is NULL. Instead,
fail the test and add an appropriate error message.
Fixes:
|
||
---|---|---|
.. | ||
.kunitconfig | ||
Kconfig | ||
Makefile | ||
assert.c | ||
debugfs.c | ||
debugfs.h | ||
executor.c | ||
executor_test.c | ||
kunit-example-test.c | ||
kunit-test.c | ||
resource.c | ||
string-stream-test.c | ||
string-stream.c | ||
string-stream.h | ||
test.c | ||
try-catch-impl.h | ||
try-catch.c |