naccyde / rpms / systemd

Forked from rpms/systemd a year ago
Clone
52b84b
From 73781e52f331f816924232f96c7bfc92ee763e70 Mon Sep 17 00:00:00 2001
be3800
From: Yu Watanabe <watanabe.yu+github@gmail.com>
be3800
Date: Wed, 12 Sep 2018 18:20:31 +0900
be3800
Subject: [PATCH] test: introduce install_zoneinfo()
be3800
be3800
But it is not called by default.
be3800
be3800
(cherry picked from commit 7d10ec1cda8fed20c36b16d2387f529583645cda)
be3800
52b84b
Resolves: #1823767
be3800
---
be3800
 test/test-functions | 7 +++++++
be3800
 1 file changed, 7 insertions(+)
be3800
be3800
diff --git a/test/test-functions b/test/test-functions
be3800
index f7ca3ad975..4d76ed1f82 100644
be3800
--- a/test/test-functions
be3800
+++ b/test/test-functions
be3800
@@ -628,6 +628,13 @@ install_keymaps() {
be3800
     done
be3800
 }
be3800
 
be3800
+install_zoneinfo() {
be3800
+    for i in /usr/share/zoneinfo/{,*/,*/*/}*; do
be3800
+        [[ -f $i ]] || continue
be3800
+        inst $i
be3800
+    done
be3800
+}
be3800
+
be3800
 install_fonts() {
be3800
     for i in \
be3800
         /usr/lib/kbd/consolefonts/eurlatgr* \