aboutsummaryrefslogtreecommitdiffstats
path: root/fs/unicode/Kconfig
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>2019-04-25 13:56:01 -0400
committerTheodore Ts'o <tytso@mit.edu>2019-04-25 13:56:01 -0400
commitf0d6cc00325b3887f9a9df7755acf85f52b23ff2 (patch)
treea73e6ca7c911df9b2d0babb02ffe6b44bc108659 /fs/unicode/Kconfig
parentunicode: implement higher level API for string handling (diff)
downloadlinux-dev-f0d6cc00325b3887f9a9df7755acf85f52b23ff2.tar.xz
linux-dev-f0d6cc00325b3887f9a9df7755acf85f52b23ff2.zip
unicode: introduce test module for normalized utf8 implementation
This implements a in-kernel sanity test module for the utf8 normalization core. At probe time, it will run basic sequences through the utf8n core, to identify problems will equivalent sequences and normalization/casefold code. This is supposed to be useful for regression testing when adding support for a new version of utf8 to linux. Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/unicode/Kconfig')
-rw-r--r--fs/unicode/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/unicode/Kconfig b/fs/unicode/Kconfig
index f41520f57dff..b560a879edf7 100644
--- a/fs/unicode/Kconfig
+++ b/fs/unicode/Kconfig
@@ -6,3 +6,8 @@ config UNICODE
help
Say Y here to enable UTF-8 NFD normalization and NFD+CF casefolding
support.
+
+config UNICODE_NORMALIZATION_SELFTEST
+ tristate "Test UTF-8 normalization support"
+ depends on UNICODE
+ default n