scanftest:need enable CONFIG_LIBC_SCANSET

Summary:
"",
        instead of
"   ",
        to the first argument.

Test #29 returned 0 instead of 1.
Test #29 assigned
"",
        instead of
"  q",
        to the first argument.

Test #30 returned 0 instead of 2.
Test #30 assigned
"",
        instead of
"  ",
        to the first argument.

Test #30 assigned
"",
        instead of
"Q",
        to the second argument.

Test #31 returned 0 instead of 2.
Test #31 assigned
"",
        instead of
"qwerty-",
        to the first argument.

Test #31 assigned
"",
        instead of
"QWERTY-",
        to the second argument.

Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
chenrun1
2024-12-23 14:28:22 +08:00
committed by Xiang Xiao
parent 42d6ae6d07
commit ee3400e78a

View File

@@ -5,6 +5,7 @@
config TESTING_SCANFTEST
tristate "sscanf() test"
depends on LIBC_SCANSET
default n
---help---
Enable sscanf() test