aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-09-19 10:54:16 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-10-09 19:11:21 +0900
commit83a7051ee1edbfe8cd2278477d23083beb385409 (patch)
treed4ab35fbaf8636831893c90521bb0c847072ee74 /test
parenttest: introduce install_zoneinfo() (diff)
downloadsystemd-83a7051ee1edbfe8cd2278477d23083beb385409.tar.gz
systemd-83a7051ee1edbfe8cd2278477d23083beb385409.tar.bz2
systemd-83a7051ee1edbfe8cd2278477d23083beb385409.zip
test: add paths of keymaps in install_keymaps()
It seems that the paths of directories storing keymaps are changed.
Diffstat (limited to 'test')
-rw-r--r--test/test-functions6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/test-functions b/test/test-functions
index 66f60f460..dc3b06e22 100644
--- a/test/test-functions
+++ b/test/test-functions
@@ -623,10 +623,14 @@ install_pam() {
}
install_keymaps() {
+ # The first three paths may be deprecated.
+ # It seems now the last two paths are used by many distributions.
for i in \
/usr/lib/kbd/keymaps/include/* \
/usr/lib/kbd/keymaps/i386/include/* \
- /usr/lib/kbd/keymaps/i386/qwerty/us.*; do
+ /usr/lib/kbd/keymaps/i386/qwerty/us.* \
+ /usr/lib/kbd/keymaps/legacy/include/* \
+ /usr/lib/kbd/keymaps/legacy/i386/qwerty/us.*; do
[[ -f $i ]] || continue
inst $i
done