test: use kbd-mode-map we ship in TEST-73-LOCALE
authorFranck Bui <fbui@suse.com>
Wed, 5 Apr 2023 11:37:48 +0000 (13:37 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Wed, 5 Apr 2023 18:58:57 +0000 (19:58 +0100)
The rational is the same as the one described in commit
be0cc2ce6c947aafadb3f42dba405269f670b31c.

test/units/testsuite-73.sh

index 2aef7c779a4a55f0923407fe5c41ae787e5fe0a2..191e3f77a6394b65ca8f4aac11acfb4823640f39 100755 (executable)
@@ -650,6 +650,11 @@ EOF
 
 : >/failed
 
+# Make sure the content of kbd-model-map is the one that the tests expect
+# regardless of the version intalled on the distro where the testsuite is
+# running on.
+export SYSTEMD_KBD_MODEL_MAP=/usr/lib/systemd/tests/testdata/test-keymap-util/kbd-model-map
+
 enable_debug
 test_locale
 test_vc_keymap