56427c9cf5
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>
13 lines
297 B
Text
13 lines
297 B
Text
#
|
|
# UTF-8 normalization
|
|
#
|
|
config UNICODE
|
|
bool "UTF-8 normalization and casefolding support"
|
|
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
|