diff options
author | Tzung-Bi Shih <tzungbi@kernel.org> | 2025-06-12 08:48:34 +0000 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2025-06-18 12:56:18 -0600 |
commit | e42ad39318dffbe46b05337759654c6436f723e8 (patch) | |
tree | 0267aa01cb2f744ccf0ce49fc7296ff01be76ab3 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 76ee96d3d7f1476e9a78a87b536b8c58a81c3552 (diff) |
kunit: Add test for static stub
__kunit_activate_static_stub() works effectively as
kunit_deactivate_static_stub() if `replacement_addr` is NULL.
Add a test case to catch the issue discovered in
commit 772e50a76ee6 ("kunit: Fix wrong parameter to kunit_deactivate_static_stub()").
For running the test:
$ ./tools/testing/kunit/kunit.py run \
--arch=x86_64 \
kunit_stub
Fixed change log:
Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/r/20250612084834.587576-1-tzungbi@kernel.org
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions