string_kunit: Move strtomem KUnit test to string_kunit.c
authorKees Cook <keescook@chromium.org>
Wed, 24 Apr 2024 16:01:30 +0000 (09:01 -0700)
committerKees Cook <keescook@chromium.org>
Wed, 24 Apr 2024 16:02:34 +0000 (09:02 -0700)
commitc01c41e5009c04515d81a87f6278c413914920ce
treefb0db0ba6bcc2a5f24246c39ff20ad83ca47b1c1
parent0efc5990bca540b8d438fda23db3a72efa733eb0
string_kunit: Move strtomem KUnit test to string_kunit.c

It is more logical to have the strtomem() test in string_kunit.c instead
of the memcpy() suite. Move it to live with memtostr().

Signed-off-by: Kees Cook <keescook@chromium.org>
lib/memcpy_kunit.c
lib/string_kunit.c