]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: use kbd-mode-map we ship in one more test case
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 10 Nov 2021 23:55:10 +0000 (08:55 +0900)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 11 Nov 2021 09:54:01 +0000 (09:54 +0000)
Follow-up for be0cc2ce6c947aafadb3f42dba405269f670b31c.

Fixes https://github.com/systemd/systemd/pull/19670#issuecomment-965817823.

src/locale/test-keymap-util.c

index a5d40af448169cf5f3ce3d3695ab8ef283b6b209..f726e8e5240bf8599e0405ad3c87f1109e6a6a2d 100644 (file)
@@ -196,11 +196,11 @@ int main(int argc, char **argv) {
 
         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_find_legacy_keymap();
         test_vconsole_convert_to_x11();
         test_x11_convert_to_vconsole();