Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

unicode: kunit: change tests filename and path

Change utf8 kunit test filename and path to follow the style
convention on Documentation/dev-tools/kunit/style.rst

Co-developed-by: Pedro Orlando <porlando@lkcamp.dev>
Signed-off-by: Pedro Orlando <porlando@lkcamp.dev>
Co-developed-by: Danilo Pereira <dpereira@lkcamp.dev>
Signed-off-by: Danilo Pereira <dpereira@lkcamp.dev>
Signed-off-by: Gabriela Bittencourt <gbittencourt@lkcamp.dev>
Reviewed-by: David Gow <davidgow@google.com>
Acked-by: Gabriel Krisman Bertazi <krisman@suse.de>
Reviewed-by: Shuah Khan <skhan@linuxfoundation.org>
Reviewed-by: Rae Moar <rmoar@google.com>
Link: https://lore.kernel.org/r/20241202075545.3648096-7-davidgow@google.com
Signed-off-by: Kees Cook <kees@kernel.org>

authored by

Gabriela Bittencourt and committed by
Kees Cook
2be6ce9d 62b9ef50

+2 -2
fs/unicode/.kunitconfig fs/unicode/tests/.kunitconfig
+1 -1
fs/unicode/Makefile
··· 4 4 obj-y += unicode.o 5 5 endif 6 6 obj-$(CONFIG_UNICODE) += utf8data.o 7 - obj-$(CONFIG_UNICODE_NORMALIZATION_KUNIT_TEST) += utf8-selftest.o 7 + obj-$(CONFIG_UNICODE_NORMALIZATION_KUNIT_TEST) += tests/utf8_kunit.o 8 8 9 9 unicode-y := utf8-norm.o utf8-core.o 10 10
+1 -1
fs/unicode/utf8-selftest.c fs/unicode/tests/utf8_kunit.c
··· 8 8 #include <linux/unicode.h> 9 9 #include <kunit/test.h> 10 10 11 - #include "utf8n.h" 11 + #include "../utf8n.h" 12 12 13 13 static const struct { 14 14 /* UTF-8 strings in this vector _must_ be NULL-terminated. */