unicode: introduce test module for normalized utf8 implementation
authorGabriel Krisman Bertazi <krisman@collabora.co.uk>
Thu, 25 Apr 2019 17:56:01 +0000 (13:56 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 25 Apr 2019 17:56:01 +0000 (13:56 -0400)
commitf0d6cc00325b3887f9a9df7755acf85f52b23ff2
treea73e6ca7c911df9b2d0babb02ffe6b44bc108659
parent9d53690f0d4e5686e80f034ea584b7a822b356d3
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>
fs/unicode/Kconfig
fs/unicode/Makefile
fs/unicode/utf8-selftest.c [new file with mode: 0644]