diff options
| author | Tamir Duberstein <tamird@gmail.com> | 2025-03-08 01:08:56 +0300 |
|---|---|---|
| committer | Kees Cook <kees@kernel.org> | 2025-03-13 20:26:33 +0300 |
| commit | 7a79e7daa84e230266184a2018507551086c2317 (patch) | |
| tree | 4c70bb9920d5d301e640f0e82d8466b38e930ca0 /Documentation/dev-tools | |
| parent | 6ee149f61bcce39692f0335a01e99355d4cec8da (diff) | |
| download | linux-7a79e7daa84e230266184a2018507551086c2317.tar.xz | |
printf: convert self-test to KUnit
Convert the printf() self-test to a KUnit test.
In the interest of keeping the patch reasonably-sized this doesn't
refactor the tests into proper parameterized tests - it's all one big
test case.
Signed-off-by: Tamir Duberstein <tamird@gmail.com>
Reviewed-by: Petr Mladek <pmladek@suse.com>
Tested-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20250307-printf-kunit-convert-v6-1-4d85c361c241@gmail.com
Signed-off-by: Kees Cook <kees@kernel.org>
Diffstat (limited to 'Documentation/dev-tools')
| -rw-r--r-- | Documentation/dev-tools/kselftest.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/dev-tools/kselftest.rst b/Documentation/dev-tools/kselftest.rst index fdb1df86783a..18c2da67fae4 100644 --- a/Documentation/dev-tools/kselftest.rst +++ b/Documentation/dev-tools/kselftest.rst @@ -347,7 +347,7 @@ kselftest. We use kselftests for lib/ as an example. 1. Create the test module 2. Create the test script that will run (load/unload) the module - e.g. ``tools/testing/selftests/lib/printf.sh`` + e.g. ``tools/testing/selftests/lib/bitmap.sh`` 3. Add line to config file e.g. ``tools/testing/selftests/lib/config`` |
