summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/lib/config
diff options
context:
space:
mode:
authorTobin C. Harding <tobin@kernel.org>2019-04-05 04:58:59 +0300
committerShuah Khan <shuah@kernel.org>2019-04-09 01:44:21 +0300
commit0b0600c8c97abe070724140802f3b8c8aee93170 (patch)
tree38e4acc7d20c2ea2d27e2100d16da55b99e0e52d /tools/testing/selftests/lib/config
parent458a3bf82df4fe1f951d0f52b1e0c1e9d5a88a3b (diff)
downloadlinux-0b0600c8c97abe070724140802f3b8c8aee93170.tar.xz
lib: Add test module for strscpy_pad
Add a test module for the new strscpy_pad() function. Tie it into the kselftest infrastructure for lib/ tests. Acked-by: Kees Cook <keescook@chromium.org> Signed-off-by: Tobin C. Harding <tobin@kernel.org> Signed-off-by: Shuah Khan <shuah@kernel.org>
Diffstat (limited to 'tools/testing/selftests/lib/config')
-rw-r--r--tools/testing/selftests/lib/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/testing/selftests/lib/config b/tools/testing/selftests/lib/config
index 126933bcc950..14a77ea4a8da 100644
--- a/tools/testing/selftests/lib/config
+++ b/tools/testing/selftests/lib/config
@@ -1,3 +1,4 @@
CONFIG_TEST_PRINTF=m
CONFIG_TEST_BITMAP=m
CONFIG_PRIME_NUMBERS=m
+CONFIG_TEST_STRSCPY=m