diff options
author | Mickaël Salaün <[email protected]> | 2024-04-08 09:46:25 +0200 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2024-05-06 14:22:02 -0600 |
commit | 170c31737cf31770916c6cbadab04c5134f0d961 (patch) | |
tree | 2c1d185deb778ee219cc3b294a6816b98f7e19f6 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8bd5d74babc92558da67497918210e053515b2c4 (diff) |
kunit: Add tests for fault
Add a test case to check NULL pointer dereference and make sure it would
result as a failed test.
The full kunit_fault test suite is marked as skipped when run on UML
because it would result to a kernel panic.
Tested with:
./tools/testing/kunit/kunit.py run --arch x86_64 kunit_fault
./tools/testing/kunit/kunit.py run --arch arm64 \
--cross_compile=aarch64-linux-gnu- kunit_fault
Cc: Brendan Higgins <[email protected]>
Cc: Rae Moar <[email protected]>
Cc: Shuah Khan <[email protected]>
Reviewed-by: David Gow <[email protected]>
Signed-off-by: Mickaël Salaün <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions