ryantimwilson / rpms / systemd

Forked from rpms/systemd a month ago
Clone
be3800
From fcea985d245dd5854aee2bad8b84b0ace0c93fec 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
(cherry picked from commit a66d62e7c8c28d9e5382362a279d1dfa06089996)
be3800
be3800
Resolves: #1836979
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* \