}
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();
path = run_command(sh, '-c', 'echo "$PATH"').stdout().strip()
test_env = environment()
-test_env.set('SYSTEMD_KBD_MODEL_MAP', kbd_model_map)
test_env.set('SYSTEMD_LANGUAGE_FALLBACK_MAP', language_fallback_map)
test_env.set('PATH', project_build_root + ':' + path)
install_subdir('testsuite-63.units',
install_dir : testdata_dir)
+ install_data(kbd_model_map,
+ install_dir : testdata_dir + '/test-keymap-util')
+
testsuite08_dir = testdata_dir + '/testsuite-08.units'
install_data('testsuite-08.units/-.mount',
install_dir : testsuite08_dir)
--- /dev/null
+../../src/locale/kbd-model-map
\ No newline at end of file