diff options
author | 2016-05-28 17:53:00 -0400 | |
---|---|---|
committer | 2016-06-06 09:22:33 -0400 | |
commit | aa63b56f5f56c9aa9b0ed00b4213c258c629c614 (patch) | |
tree | 02f7e722af41182e97637d0d8e93f19b8e78eb3e /.gitignore | |
parent | localed: split out keymap parsing to a separate file (diff) | |
download | systemd-aa63b56f5f56c9aa9b0ed00b4213c258c629c614.tar.gz systemd-aa63b56f5f56c9aa9b0ed00b4213c258c629c614.tar.bz2 systemd-aa63b56f5f56c9aa9b0ed00b4213c258c629c614.zip |
keymap-util: add tests and fix one small bug
When converting an empty x11 variant, we would not delete vconsole mapping
properly.
find_legacy_keymap() is made non-static. I think it's important to be able to
test it. In principle we could also test it through the higher-level interface
of x11_convert_to_vconsole, but x11_convert_to_vconsole also uses
find_converted_keymap, and it's better to test at this lower level.
Note that find_legacy_keymap might be a bit of a misnomer, because we'd probably
want to keep kbd-model-map even if the "legacy" layouts went away. So we might
want to change this name, but I'm leaving that for another commit.
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 091b40018..f7db68b4a 100644 --- a/.gitignore +++ b/.gitignore @@ -217,6 +217,7 @@ /test-journal-stream /test-journal-syslog /test-journal-verify +/test-keymap-util /test-libsystemd-sym* /test-libudev /test-libudev-sym* |