diff options
author | Gabriel Krisman Bertazi <krisman@collabora.com> | 2019-04-25 13:59:17 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2019-04-25 13:59:17 -0400 |
commit | 1215d239e791c54a3abb135553d32c9b91ae96ef (patch) | |
tree | 58b4f5a6f0f3884e78533399a7d004b80b3f81ab /fs/unicode/utf8-selftest.c | |
parent | f0d6cc00325b3887f9a9df7755acf85f52b23ff2 (diff) |
unicode: update unicode database unicode version 12.1.0
Regenerate utf8data.h based on the latest UCD files and run tests
against the latest version.
Signed-off-by: Gabriel Krisman Bertazi <krisman@collabora.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'fs/unicode/utf8-selftest.c')
-rw-r--r-- | fs/unicode/utf8-selftest.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/unicode/utf8-selftest.c b/fs/unicode/utf8-selftest.c index 492d934d5c1c..80752013fce0 100644 --- a/fs/unicode/utf8-selftest.c +++ b/fs/unicode/utf8-selftest.c @@ -26,8 +26,8 @@ unsigned int failed_tests; unsigned int total_tests; /* Tests will be based on this version. */ -#define latest_maj 11 -#define latest_min 0 +#define latest_maj 12 +#define latest_min 1 #define latest_rev 0 #define _test(cond, func, line, fmt, ...) do { \ @@ -243,7 +243,7 @@ static void check_utf8_nfdicf(void) static void check_utf8_comparisons(void) { int i; - struct unicode_map *table = utf8_load("11.0.0"); + struct unicode_map *table = utf8_load("12.1.0"); if (IS_ERR(table)) { pr_err("%s: Unable to load utf8 %d.%d.%d. Skipping.\n", @@ -286,7 +286,7 @@ static void check_supported_versions(void) test(utf8version_is_supported(latest_maj, latest_min, latest_rev)); /* Next versions don't exist. */ - test(!utf8version_is_supported(12, 0, 0)); + test(!utf8version_is_supported(13, 0, 0)); test(!utf8version_is_supported(0, 0, 0)); test(!utf8version_is_supported(-1, -1, -1)); } |