diff options
Diffstat (limited to 'src/locale/test-keymap-util.c')
-rw-r--r-- | src/locale/test-keymap-util.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/locale/test-keymap-util.c b/src/locale/test-keymap-util.c index 6f60aba38c..a5d40af448 100644 --- a/src/locale/test-keymap-util.c +++ b/src/locale/test-keymap-util.c @@ -190,12 +190,17 @@ static void test_x11_convert_to_vconsole(void) { } int main(int argc, char **argv) { + _cleanup_free_ char *map = NULL; + test_setup_logging(LOG_DEBUG); test_find_language_fallback(); test_find_converted_keymap(); test_find_legacy_keymap(); + assert_se(get_testdata_dir("test-keymap-util/kbd-model-map", &map) >= 0); + assert_se(setenv("SYSTEMD_KBD_MODEL_MAP", map, 1) == 0); + test_vconsole_convert_to_x11(); test_x11_convert_to_vconsole(); |