diff options
| author | Richard Fitzgerald <[email protected]> | 2021-05-14 17:12:05 +0100 |
|---|---|---|
| committer | Petr Mladek <[email protected]> | 2021-05-19 15:05:11 +0200 |
| commit | 50f530e176eac808e64416732e54c0686ce2c39b (patch) | |
| tree | 7d815b48b9cf02bbb20c3383fee83c594d7a75b5 /lib/Kconfig.debug | |
| parent | 900fdc4573766dd43b847b4f54bd4a1ee2bc7360 (diff) | |
lib: test_scanf: Add tests for sscanf number conversion
Adds test_sscanf to test various number conversion cases, as
number conversion was previously broken.
This also tests the simple_strtoxxx() functions exported from
vsprintf.c.
Signed-off-by: Richard Fitzgerald <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Signed-off-by: Petr Mladek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/Kconfig.debug')
| -rw-r--r-- | lib/Kconfig.debug | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 2c7f46b366f1..dc437a171c0f 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2163,6 +2163,9 @@ config TEST_KSTRTOX config TEST_PRINTF tristate "Test printf() family of functions at runtime" +config TEST_SCANF + tristate "Test scanf() family of functions at runtime" + config TEST_BITMAP tristate "Test bitmap_*() family of functions at runtime" help |
