diff options
author | Kees Cook <keescook@chromium.org> | 2023-04-04 15:43:35 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2023-05-16 14:08:02 -0700 |
commit | 3bf301e1ab85e18ed0e337ce124dc71d6d7b5fd7 (patch) | |
tree | 9531f0db48b4bc1902b9973f7f151eadaf79dd34 /lib/Kconfig.debug | |
parent | a9dc8d0442294b426b1ebd4ec6097c82ebe282e0 (diff) | |
download | linux-stable-3bf301e1ab85e18ed0e337ce124dc71d6d7b5fd7.tar.gz linux-stable-3bf301e1ab85e18ed0e337ce124dc71d6d7b5fd7.tar.bz2 linux-stable-3bf301e1ab85e18ed0e337ce124dc71d6d7b5fd7.zip |
string: Add Kunit tests for strcat() family
Add tests to make sure the strcat() family of functions behave
correctly.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'lib/Kconfig.debug')
-rw-r--r-- | lib/Kconfig.debug | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 1a630a03dfcc..c2a7608ff585 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2662,6 +2662,11 @@ config HW_BREAKPOINT_KUNIT_TEST If unsure, say N. +config STRCAT_KUNIT_TEST + tristate "Test strcat() family of functions at runtime" if !KUNIT_ALL_TESTS + depends on KUNIT + default KUNIT_ALL_TESTS + config STRSCPY_KUNIT_TEST tristate "Test strscpy*() family of functions at runtime" if !KUNIT_ALL_TESTS depends on KUNIT |