RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/tzdata#58d77a3f15398c4048d0fc300b14157e9c947e15
This commit is contained in:
parent
fb9545e85b
commit
a9010d7c75
180
.gitignore
vendored
180
.gitignore
vendored
@ -0,0 +1,180 @@
|
||||
tzdata-base-0.tar.bz2
|
||||
javazic.tar.gz
|
||||
tzcode2007j.tar.gz
|
||||
tzdata2007j.tar.gz
|
||||
tzdata2007k.tar.gz
|
||||
tzcode2007k.tar.gz
|
||||
tzcode2008a.tar.gz
|
||||
tzdata2008b.tar.gz
|
||||
tzdata2008c.tar.gz
|
||||
tzdata2008d.tar.gz
|
||||
tzdata2008e.tar.gz
|
||||
tzcode2008e.tar.gz
|
||||
tzdata2008f.tar.gz
|
||||
tzdata2008g.tar.gz
|
||||
tzcode2008g.tar.gz
|
||||
tzdata2008h.tar.gz
|
||||
tzcode2008h.tar.gz
|
||||
tzdata2008i.tar.gz
|
||||
tzdata2009a.tar.gz
|
||||
tzcode2009a.tar.gz
|
||||
tzdata2009d.tar.gz
|
||||
tzcode2009d.tar.gz
|
||||
tzdata2009e.tar.gz
|
||||
tzcode2009e.tar.gz
|
||||
tzdata2009f.tar.gz
|
||||
tzdata2009h.tar.gz
|
||||
tzcode2009h.tar.gz
|
||||
tzdata2009i.tar.gz
|
||||
tzcode2009i.tar.gz
|
||||
tzdata2009j.tar.gz
|
||||
tzdata2009k.tar.gz
|
||||
tzcode2009k.tar.gz
|
||||
tzdata2009m.tar.gz
|
||||
tzdata2009u.tar.gz
|
||||
tzcode2009t.tar.gz
|
||||
tzdata2010c.tar.gz
|
||||
tzcode2010c.tar.gz
|
||||
tzdata2010e.tar.gz
|
||||
tzcode2010f.tar.gz
|
||||
tzdata2010f.tar.gz
|
||||
tzdata2010h.tar.gz
|
||||
tzdata2010i.tar.gz
|
||||
tzdata2010j.tar.gz
|
||||
tzcode2010j.tar.gz
|
||||
tzdata2010k.tar.gz
|
||||
tzcode2010k.tar.gz
|
||||
tzcode2010l.tar.gz
|
||||
tzdata2010l.tar.gz
|
||||
/tzdata2010n.tar.gz
|
||||
/tzcode2010n.tar.gz
|
||||
/tzdata2010o.tar.gz
|
||||
/tzdata2011a.tar.gz
|
||||
/tzcode2011a.tar.gz
|
||||
/tzdata2011b.tar.gz
|
||||
/tzcode2011b.tar.gz
|
||||
tzdata/
|
||||
/tzdata-*/
|
||||
*.rpm
|
||||
/tzdata2011d.tar.gz
|
||||
/tzcode2011d.tar.gz
|
||||
/tzdata2011f.tar.gz
|
||||
/tzcode2011e.tar.gz
|
||||
/tzdata2011g.tar.gz
|
||||
/tzcode2011g.tar.gz
|
||||
noarch/
|
||||
.build-*
|
||||
/tzdata2011h.tar.gz
|
||||
/tzdata2011i.tar.gz
|
||||
/tzcode2011i.tar.gz
|
||||
/tzdata2011j.tar.gz
|
||||
/tzdata2011l.tar.gz
|
||||
/tzdata2011n.tar.gz
|
||||
/tzdata2012b.tar.gz
|
||||
/tzcode2012b.tar.gz
|
||||
/tzdata2012c.tar.gz
|
||||
/tzcode2012c.tar.gz
|
||||
/tzdata2012d.tar.gz
|
||||
/tzdata2012e.tar.gz
|
||||
/tzcode2012e.tar.gz
|
||||
/tzdata2012f.tar.gz
|
||||
/tzcode2012f.tar.gz
|
||||
/tzdata2012g.tar.gz
|
||||
/tzcode2012g.tar.gz
|
||||
/tzdata2012h.tar.gz
|
||||
/tzcode2012h.tar.gz
|
||||
/tzdata2012i.tar.gz
|
||||
/tzcode2012i.tar.gz
|
||||
/tzdata2012j.tar.gz
|
||||
/tzcode2012j.tar.gz
|
||||
/tzdata2013b.tar.gz
|
||||
/tzcode2013b.tar.gz
|
||||
/tzdata2013c.tar.gz
|
||||
/tzcode2013c.tar.gz
|
||||
/tzdata2013d.tar.gz
|
||||
/tzcode2013d.tar.gz
|
||||
/tzdata2013g.tar.gz
|
||||
/tzcode2013g.tar.gz
|
||||
/tzcode2013h.tar.gz
|
||||
/tzdata2013h.tar.gz
|
||||
/tzcode2013i.tar.gz
|
||||
/tzdata2013i.tar.gz
|
||||
/tzdata2014a.tar.gz
|
||||
/tzcode2014a.tar.gz
|
||||
/tzcode2014b.tar.gz
|
||||
/tzdata2014b.tar.gz
|
||||
/tzcode2014c.tar.gz
|
||||
/tzdata2014c.tar.gz
|
||||
/javazic-1.8-37392f2f5d59.tar.xz
|
||||
/tzcode2014e.tar.gz
|
||||
/tzdata2014e.tar.gz
|
||||
/tzcode2014f.tar.gz
|
||||
/tzdata2014f.tar.gz
|
||||
/tzcode2014g.tar.gz
|
||||
/tzdata2014g.tar.gz
|
||||
/tzcode2014h.tar.gz
|
||||
/tzdata2014h.tar.gz
|
||||
/tzcode2014i.tar.gz
|
||||
/tzdata2014i.tar.gz
|
||||
/tzcode2014j.tar.gz
|
||||
/tzdata2014j.tar.gz
|
||||
/tzdata2015a.tar.gz
|
||||
/tzcode2015a.tar.gz
|
||||
/tzdata2015b.tar.gz
|
||||
/tzcode2015b.tar.gz
|
||||
/tzcode2015c.tar.gz
|
||||
/tzdata2015c.tar.gz
|
||||
/tzcode2015d.tar.gz
|
||||
/tzdata2015d.tar.gz
|
||||
/tzcode2015e.tar.gz
|
||||
/tzdata2015e.tar.gz
|
||||
/tzcode2015f.tar.gz
|
||||
/tzdata2015f.tar.gz
|
||||
/tzcode2015g.tar.gz
|
||||
/tzdata2015g.tar.gz
|
||||
/tzcode2016a.tar.gz
|
||||
/tzdata2016a.tar.gz
|
||||
/tzcode2016b.tar.gz
|
||||
/tzdata2016b.tar.gz
|
||||
/tzdata2016c.tar.gz
|
||||
/tzcode2016c.tar.gz
|
||||
/tzcode2016d.tar.gz
|
||||
/tzdata2016d.tar.gz
|
||||
/tzdata2016e.tar.gz
|
||||
/tzcode2016e.tar.gz
|
||||
/tzcode2016f.tar.gz
|
||||
/tzdata2016f.tar.gz
|
||||
/tzdata2016g.tar.gz
|
||||
/tzcode2016g.tar.gz
|
||||
/tzcode2016h.tar.gz
|
||||
/tzdata2016h.tar.gz
|
||||
/tzcode2016i.tar.gz
|
||||
/tzdata2016i.tar.gz
|
||||
/tzcode2016j.tar.gz
|
||||
/tzdata2016j.tar.gz
|
||||
/tzdata2017a.tar.gz
|
||||
/tzcode2017a.tar.gz
|
||||
/tzcode2017b.tar.gz
|
||||
/tzdata2017b.tar.gz
|
||||
/tzcode2017c.tar.gz
|
||||
/tzdata2017c.tar.gz
|
||||
/tzcode2018c.tar.gz
|
||||
/tzdata2018c.tar.gz
|
||||
/tzcode2018d.tar.gz
|
||||
/tzdata2018d.tar.gz
|
||||
/tzcode2018e.tar.gz
|
||||
/tzdata2018e.tar.gz
|
||||
/tzcode2018g.tar.gz
|
||||
/tzdata2018g.tar.gz
|
||||
/tzcode2018i.tar.gz
|
||||
/tzdata2018i.tar.gz
|
||||
/tzcode2019a.tar.gz
|
||||
/tzdata2019a.tar.gz
|
||||
/tzcode2019b.tar.gz
|
||||
/tzdata2019b.tar.gz
|
||||
/tzcode2019c.tar.gz
|
||||
/tzdata2019c.tar.gz
|
||||
/tzcode2020a.tar.gz
|
||||
/tzdata2020a.tar.gz
|
||||
/tzcode2020b.tar.gz
|
||||
/tzdata2020b.tar.gz
|
149
0001-Fix-Makefile-quoting-bug.patch
Normal file
149
0001-Fix-Makefile-quoting-bug.patch
Normal file
@ -0,0 +1,149 @@
|
||||
From b520d20b8122a783f99f088758b78d928f70ee34 Mon Sep 17 00:00:00 2001
|
||||
From: Paul Eggert <eggert@cs.ucla.edu>
|
||||
Date: Mon, 23 Oct 2017 11:42:45 -0700
|
||||
Subject: [PROPOSED] Fix Makefile quoting bug
|
||||
|
||||
Problem with INSTALLARGS reported by Zefram in:
|
||||
https://mm.icann.org/pipermail/tz/2017-October/025360.html
|
||||
Fix similar problems too.
|
||||
* Makefile (ZIC_INSTALL, VALIDATE_ENV, CC, install)
|
||||
(INSTALL, version, INSTALLARGS, right_posix, posix_right)
|
||||
(check_public): Use apostrophes to prevent undesirable
|
||||
interpretation of names by the shell. We still do not support
|
||||
directory names containing apostrophes or newlines, but this is
|
||||
good enough.
|
||||
* NEWS: Mention this.
|
||||
---
|
||||
Makefile | 64 ++++++++++++++++++++++++++++++++--------------------------------
|
||||
NEWS | 8 ++++++++
|
||||
2 files changed, 40 insertions(+), 32 deletions(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index c92edc0..97649ca 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -313,7 +313,7 @@ ZFLAGS=
|
||||
|
||||
# How to use zic to install tz binary files.
|
||||
|
||||
-ZIC_INSTALL= $(ZIC) -d $(DESTDIR)$(TZDIR) $(LEAPSECONDS)
|
||||
+ZIC_INSTALL= $(ZIC) -d '$(DESTDIR)$(TZDIR)' $(LEAPSECONDS)
|
||||
|
||||
# The name of a Posix-compliant 'awk' on your system.
|
||||
AWK= awk
|
||||
@@ -341,8 +341,8 @@ SGML_CATALOG_FILES= \
|
||||
VALIDATE = nsgmls
|
||||
VALIDATE_FLAGS = -s -B -wall -wno-unused-param
|
||||
VALIDATE_ENV = \
|
||||
- SGML_CATALOG_FILES=$(SGML_CATALOG_FILES) \
|
||||
- SGML_SEARCH_PATH=$(SGML_SEARCH_PATH) \
|
||||
+ SGML_CATALOG_FILES='$(SGML_CATALOG_FILES)' \
|
||||
+ SGML_SEARCH_PATH='$(SGML_SEARCH_PATH)' \
|
||||
SP_CHARSET_FIXED=YES \
|
||||
SP_ENCODING=UTF-8
|
||||
|
||||
@@ -396,7 +396,7 @@ GZIPFLAGS= -9n
|
||||
#MAKE= make
|
||||
|
||||
cc= cc
|
||||
-CC= $(cc) -DTZDIR=\"$(TZDIR)\"
|
||||
+CC= $(cc) -DTZDIR='"$(TZDIR)"'
|
||||
|
||||
AR= ar
|
||||
|
||||
@@ -473,29 +473,29 @@ all: tzselect yearistype zic zdump libtz.a $(TABDATA)
|
||||
ALL: all date $(ENCHILADA)
|
||||
|
||||
install: all $(DATA) $(REDO) $(MANS)
|
||||
- mkdir -p $(DESTDIR)$(ETCDIR) $(DESTDIR)$(TZDIR) \
|
||||
- $(DESTDIR)$(LIBDIR) \
|
||||
- $(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \
|
||||
- $(DESTDIR)$(MANDIR)/man8
|
||||
+ mkdir -p '$(DESTDIR)$(ETCDIR)' '$(DESTDIR)$(TZDIR)' \
|
||||
+ '$(DESTDIR)$(LIBDIR)' \
|
||||
+ '$(DESTDIR)$(MANDIR)/man3' '$(DESTDIR)$(MANDIR)/man5' \
|
||||
+ '$(DESTDIR)$(MANDIR)/man8'
|
||||
$(ZIC_INSTALL) -l $(LOCALTIME) -p $(POSIXRULES)
|
||||
- cp -f $(TABDATA) $(DESTDIR)$(TZDIR)/.
|
||||
- cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/.
|
||||
- cp libtz.a $(DESTDIR)$(LIBDIR)/.
|
||||
- $(RANLIB) $(DESTDIR)$(LIBDIR)/libtz.a
|
||||
- cp -f newctime.3 newtzset.3 $(DESTDIR)$(MANDIR)/man3/.
|
||||
- cp -f tzfile.5 $(DESTDIR)$(MANDIR)/man5/.
|
||||
- cp -f tzselect.8 zdump.8 zic.8 $(DESTDIR)$(MANDIR)/man8/.
|
||||
+ cp -f $(TABDATA) '$(DESTDIR)$(TZDIR)/.'
|
||||
+ cp tzselect zic zdump '$(DESTDIR)$(ETCDIR)/.'
|
||||
+ cp libtz.a '$(DESTDIR)$(LIBDIR)/.'
|
||||
+ $(RANLIB) '$(DESTDIR)$(LIBDIR)/libtz.a'
|
||||
+ cp -f newctime.3 newtzset.3 '$(DESTDIR)$(MANDIR)/man3/.'
|
||||
+ cp -f tzfile.5 '$(DESTDIR)$(MANDIR)/man5/.'
|
||||
+ cp -f tzselect.8 zdump.8 zic.8 '$(DESTDIR)$(MANDIR)/man8/.'
|
||||
|
||||
INSTALL: ALL install date.1
|
||||
- mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1
|
||||
- cp date $(DESTDIR)$(BINDIR)/.
|
||||
- cp -f date.1 $(DESTDIR)$(MANDIR)/man1/.
|
||||
+ mkdir -p '$(DESTDIR)$(BINDIR)' '$(DESTDIR)$(MANDIR)/man1'
|
||||
+ cp date '$(DESTDIR)$(BINDIR)/.'
|
||||
+ cp -f date.1 '$(DESTDIR)$(MANDIR)/man1/.'
|
||||
|
||||
version: $(VERSION_DEPS)
|
||||
{ (type git) >/dev/null 2>&1 && \
|
||||
V=`git describe --match '[0-9][0-9][0-9][0-9][a-z]*' \
|
||||
--abbrev=7 --dirty` || \
|
||||
- V=$(VERSION); } && \
|
||||
+ V='$(VERSION)'; } && \
|
||||
printf '%s\n' "$$V" >$@.out
|
||||
mv $@.out $@
|
||||
|
||||
@@ -529,12 +529,12 @@ leapseconds: $(LEAP_DEPS)
|
||||
# Arguments to pass to submakes of install_data.
|
||||
# They can be overridden by later submake arguments.
|
||||
INSTALLARGS = \
|
||||
- BACKWARD=$(BACKWARD) \
|
||||
- DESTDIR=$(DESTDIR) \
|
||||
+ BACKWARD='$(BACKWARD)' \
|
||||
+ DESTDIR='$(DESTDIR)' \
|
||||
LEAPSECONDS='$(LEAPSECONDS)' \
|
||||
PACKRATDATA='$(PACKRATDATA)' \
|
||||
- TZDIR=$(TZDIR) \
|
||||
- YEARISTYPE=$(YEARISTYPE) \
|
||||
+ TZDIR='$(TZDIR)' \
|
||||
+ YEARISTYPE='$(YEARISTYPE)' \
|
||||
ZIC='$(ZIC)'
|
||||
|
||||
# 'make install_data' installs one set of tz binary files.
|
||||
@@ -558,16 +558,16 @@ right_only:
|
||||
# You must replace all of $(TZDIR) to switch from not using leap seconds
|
||||
# to using them, or vice versa.
|
||||
right_posix: right_only
|
||||
- rm -fr $(DESTDIR)$(TZDIR)-leaps
|
||||
- ln -s $(TZDIR_BASENAME) $(DESTDIR)$(TZDIR)-leaps || \
|
||||
- $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-leaps right_only
|
||||
- $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-posix posix_only
|
||||
+ rm -fr '$(DESTDIR)$(TZDIR)-leaps'
|
||||
+ ln -s '$(TZDIR_BASENAME)' '$(DESTDIR)$(TZDIR)-leaps' || \
|
||||
+ $(MAKE) $(INSTALLARGS) TZDIR='$(TZDIR)-leaps' right_only
|
||||
+ $(MAKE) $(INSTALLARGS) TZDIR='$(TZDIR)-posix' posix_only
|
||||
|
||||
posix_right: posix_only
|
||||
- rm -fr $(DESTDIR)$(TZDIR)-posix
|
||||
- ln -s $(TZDIR_BASENAME) $(DESTDIR)$(TZDIR)-posix || \
|
||||
- $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-posix posix_only
|
||||
- $(MAKE) $(INSTALLARGS) TZDIR=$(TZDIR)-leaps right_only
|
||||
+ rm -fr '$(DESTDIR)$(TZDIR)-posix'
|
||||
+ ln -s '$(TZDIR_BASENAME)' '$(DESTDIR)$(TZDIR)-posix' || \
|
||||
+ $(MAKE) $(INSTALLARGS) TZDIR='$(TZDIR)-posix' posix_only
|
||||
+ $(MAKE) $(INSTALLARGS) TZDIR='$(TZDIR)-leaps' right_only
|
||||
|
||||
# This obsolescent rule is present for backwards compatibility with
|
||||
# tz releases 2014g through 2015g. It should go away eventually.
|
||||
@@ -764,7 +764,7 @@ set-timestamps.out: $(ENCHILADA)
|
||||
|
||||
check_public:
|
||||
$(MAKE) maintainer-clean
|
||||
- $(MAKE) "CFLAGS=$(GCC_DEBUG_FLAGS)" ALL
|
||||
+ $(MAKE) CFLAGS='$(GCC_DEBUG_FLAGS)' ALL
|
||||
mkdir -p public.dir
|
||||
for i in $(TDATA) tzdata.zi; do \
|
||||
$(zic) -v -d public.dir $$i 2>&1 || exit; \
|
32
0001-Morocco-Ramadan-suspension-commentary-update.patch
Normal file
32
0001-Morocco-Ramadan-suspension-commentary-update.patch
Normal file
@ -0,0 +1,32 @@
|
||||
diff --git a/africa b/africa
|
||||
index 560f0f2..a0b8657 100644
|
||||
--- a/africa
|
||||
+++ b/africa
|
||||
@@ -788,17 +788,13 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
|
||||
# will resume again at 02:00 on Saturday, August 2, 2014....
|
||||
# http://www.mmsp.gov.ma/fr/actualites.aspx?id=586
|
||||
|
||||
-# From Milamber (2015-06-08):
|
||||
-# (Google Translation) The current time of Morocco (GMT + 1) will be suspended
|
||||
-# from next Sunday until July 19, announced Monday the Ministry of Civil
|
||||
-# Service and Modernisation of Administration. The hour will thus be delayed
|
||||
-# 60 minutes Sunday, June 14 at 3:00, the ministry said in a statement, adding
|
||||
-# that the time will be advanced again 60 minutes Sunday, July 19, 2015 at
|
||||
-# 2:00. The move comes under 2.12.126 Decree of 26 Jumada I 1433 (18 April
|
||||
-# 2012) and the decision of the Head of Government of 16 N. 3-29-15 Chaaban
|
||||
-# 1435 (4 June 2015).
|
||||
-# Source (french):
|
||||
-# http://lnt.ma/le-maroc-reculera-dune-heure-le-dimanche-14-juin/
|
||||
+# From Milamber (2015-06-09):
|
||||
+# http://www.mmsp.gov.ma/fr/actualites.aspx?id=863
|
||||
+# (Google Translation): The Ministry of Civil Service and
|
||||
+# Modernisation of Administration announced the return to the legal
|
||||
+# time of the Kingdom (GMT). So the time will be delayed for 60
|
||||
+# minutes from 3:00 am Sunday, June 14, 2015. She will be advanced by
|
||||
+# 60 minutes (GMT + 1) from 3:00 am Sunday, July 19, 2015.
|
||||
|
||||
# From Paul Eggert (2015-06-08):
|
||||
# For now, guess that later spring and fall transitions will use 2015's rules,
|
||||
--
|
||||
2.1.0
|
||||
|
102
0001-Morocco-Ramadan-suspension-now-Sunday-to-Sunday.patch
Normal file
102
0001-Morocco-Ramadan-suspension-now-Sunday-to-Sunday.patch
Normal file
@ -0,0 +1,102 @@
|
||||
diff --git a/africa b/africa
|
||||
index fd9c089..560f0f2 100644
|
||||
--- a/africa
|
||||
+++ b/africa
|
||||
@@ -788,20 +788,33 @@ Zone Indian/Mauritius 3:50:00 - LMT 1907 # Port Louis
|
||||
# will resume again at 02:00 on Saturday, August 2, 2014....
|
||||
# http://www.mmsp.gov.ma/fr/actualites.aspx?id=586
|
||||
|
||||
-# From Paul Eggert (2014-06-05):
|
||||
-# For now, guess that later spring and fall transitions will use 2014's rules,
|
||||
+# From Milamber (2015-06-08):
|
||||
+# (Google Translation) The current time of Morocco (GMT + 1) will be suspended
|
||||
+# from next Sunday until July 19, announced Monday the Ministry of Civil
|
||||
+# Service and Modernisation of Administration. The hour will thus be delayed
|
||||
+# 60 minutes Sunday, June 14 at 3:00, the ministry said in a statement, adding
|
||||
+# that the time will be advanced again 60 minutes Sunday, July 19, 2015 at
|
||||
+# 2:00. The move comes under 2.12.126 Decree of 26 Jumada I 1433 (18 April
|
||||
+# 2012) and the decision of the Head of Government of 16 N. 3-29-15 Chaaban
|
||||
+# 1435 (4 June 2015).
|
||||
+# Source (french):
|
||||
+# http://lnt.ma/le-maroc-reculera-dune-heure-le-dimanche-14-juin/
|
||||
+
|
||||
+# From Paul Eggert (2015-06-08):
|
||||
+# For now, guess that later spring and fall transitions will use 2015's rules,
|
||||
# and guess that Morocco will switch to standard time at 03:00 the last
|
||||
-# Saturday before Ramadan, and back to DST at 02:00 the first Saturday after
|
||||
+# Sunday before Ramadan, and back to DST at 02:00 the first Sunday after
|
||||
# Ramadan. To implement this, transition dates for 2015 through 2037 were
|
||||
# determined by running the following program under GNU Emacs 24.3, with the
|
||||
# results integrated by hand into the table below.
|
||||
-# (let ((islamic-year 1436))
|
||||
+# (let ((islamic-year 1437))
|
||||
+# (require 'cal-islam)
|
||||
# (while (< islamic-year 1460)
|
||||
# (let ((a (calendar-islamic-to-absolute (list 9 1 islamic-year)))
|
||||
# (b (calendar-islamic-to-absolute (list 10 1 islamic-year)))
|
||||
-# (saturday 6))
|
||||
-# (while (/= saturday (mod (setq a (1- a)) 7)))
|
||||
-# (while (/= saturday (mod b 7))
|
||||
+# (sunday 0))
|
||||
+# (while (/= sunday (mod (setq a (1- a)) 7)))
|
||||
+# (while (/= sunday (mod b 7))
|
||||
# (setq b (1+ b)))
|
||||
# (setq a (calendar-gregorian-from-absolute a))
|
||||
# (setq b (calendar-gregorian-from-absolute b))
|
||||
@@ -845,32 +858,30 @@ Rule Morocco 2012 only - Aug 20 2:00 1:00 S
|
||||
Rule Morocco 2013 only - Jul 7 3:00 0 -
|
||||
Rule Morocco 2013 only - Aug 10 2:00 1:00 S
|
||||
Rule Morocco 2013 max - Oct lastSun 3:00 0 -
|
||||
-Rule Morocco 2014 2022 - Mar lastSun 2:00 1:00 S
|
||||
+Rule Morocco 2014 2021 - Mar lastSun 2:00 1:00 S
|
||||
Rule Morocco 2014 only - Jun 28 3:00 0 -
|
||||
Rule Morocco 2014 only - Aug 2 2:00 1:00 S
|
||||
-Rule Morocco 2015 only - Jun 13 3:00 0 -
|
||||
-Rule Morocco 2015 only - Jul 18 2:00 1:00 S
|
||||
-Rule Morocco 2016 only - Jun 4 3:00 0 -
|
||||
-Rule Morocco 2016 only - Jul 9 2:00 1:00 S
|
||||
-Rule Morocco 2017 only - May 20 3:00 0 -
|
||||
-Rule Morocco 2017 only - Jul 1 2:00 1:00 S
|
||||
-Rule Morocco 2018 only - May 12 3:00 0 -
|
||||
-Rule Morocco 2018 only - Jun 16 2:00 1:00 S
|
||||
-Rule Morocco 2019 only - May 4 3:00 0 -
|
||||
-Rule Morocco 2019 only - Jun 8 2:00 1:00 S
|
||||
-Rule Morocco 2020 only - Apr 18 3:00 0 -
|
||||
-Rule Morocco 2020 only - May 30 2:00 1:00 S
|
||||
-Rule Morocco 2021 only - Apr 10 3:00 0 -
|
||||
-Rule Morocco 2021 only - May 15 2:00 1:00 S
|
||||
-Rule Morocco 2022 only - Apr 2 3:00 0 -
|
||||
-Rule Morocco 2022 only - May 7 2:00 1:00 S
|
||||
-Rule Morocco 2023 only - Apr 22 2:00 1:00 S
|
||||
-Rule Morocco 2024 only - Apr 13 2:00 1:00 S
|
||||
-Rule Morocco 2025 only - Apr 5 2:00 1:00 S
|
||||
+Rule Morocco 2015 only - Jun 14 3:00 0 -
|
||||
+Rule Morocco 2015 only - Jul 19 2:00 1:00 S
|
||||
+Rule Morocco 2016 only - Jun 5 3:00 0 -
|
||||
+Rule Morocco 2016 only - Jul 10 2:00 1:00 S
|
||||
+Rule Morocco 2017 only - May 21 3:00 0 -
|
||||
+Rule Morocco 2017 only - Jul 2 2:00 1:00 S
|
||||
+Rule Morocco 2018 only - May 13 3:00 0 -
|
||||
+Rule Morocco 2018 only - Jun 17 2:00 1:00 S
|
||||
+Rule Morocco 2019 only - May 5 3:00 0 -
|
||||
+Rule Morocco 2019 only - Jun 9 2:00 1:00 S
|
||||
+Rule Morocco 2020 only - Apr 19 3:00 0 -
|
||||
+Rule Morocco 2020 only - May 24 2:00 1:00 S
|
||||
+Rule Morocco 2021 only - Apr 11 3:00 0 -
|
||||
+Rule Morocco 2021 only - May 16 2:00 1:00 S
|
||||
+Rule Morocco 2022 only - May 8 2:00 1:00 S
|
||||
+Rule Morocco 2023 only - Apr 23 2:00 1:00 S
|
||||
+Rule Morocco 2024 only - Apr 14 2:00 1:00 S
|
||||
+Rule Morocco 2025 only - Apr 6 2:00 1:00 S
|
||||
Rule Morocco 2026 max - Mar lastSun 2:00 1:00 S
|
||||
-Rule Morocco 2035 only - Oct 27 3:00 0 -
|
||||
-Rule Morocco 2036 only - Oct 18 3:00 0 -
|
||||
-Rule Morocco 2037 only - Oct 10 3:00 0 -
|
||||
+Rule Morocco 2036 only - Oct 19 3:00 0 -
|
||||
+Rule Morocco 2037 only - Oct 4 3:00 0 -
|
||||
|
||||
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
|
||||
Zone Africa/Casablanca -0:30:20 - LMT 1913 Oct 26
|
||||
--
|
||||
2.1.0
|
||||
|
12
0002-Fix-have-snprintf-error.patch
Normal file
12
0002-Fix-have-snprintf-error.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -Nrup a/Makefile b/Makefile
|
||||
--- a/Makefile 2017-10-23 18:03:40.237177646 -0400
|
||||
+++ b/Makefile 2017-10-23 18:06:20.060683518 -0400
|
||||
@@ -292,7 +292,7 @@ GCC_DEBUG_FLAGS = -DGCC_LINT -g3 -O3 -fn
|
||||
# January's first Monday when a "%V" format is used and January 1
|
||||
# falls on a Friday, Saturday, or Sunday.
|
||||
|
||||
-CFLAGS=
|
||||
+CFLAGS= -DHAVE_SNPRINTF=1
|
||||
|
||||
# Linker flags. Default to $(LFLAGS) for backwards compatibility
|
||||
# to release 2012h and earlier.
|
55
001-tzdata-fiji-dst.patch
Normal file
55
001-tzdata-fiji-dst.patch
Normal file
@ -0,0 +1,55 @@
|
||||
diff -Nrup a/australasia b/australasia
|
||||
--- a/australasia 2013-12-17 10:26:04.000000000 -0500
|
||||
+++ b/australasia 2014-01-21 11:37:08.135130460 -0500
|
||||
@@ -354,16 +354,18 @@ Zone Indian/Cocos 6:27:40 - LMT 1900
|
||||
# http://www.fiji.gov.fj/index.php?option=com_content&view=article&id=6702&catid=71&Itemid=155
|
||||
|
||||
# From the Fijian Government Media Center (2013-08-30) via David Wheeler:
|
||||
-# Fiji will start daylight savings on Sunday 27th October, 2013 and end at 3am
|
||||
-# on Sunday 19th January, 2014.... move clocks forward by one hour from 2am
|
||||
+# Fiji will start daylight savings on Sunday 27th October, 2013 ...
|
||||
+# move clocks forward by one hour from 2am
|
||||
# http://www.fiji.gov.fj/Media-Center/Press-Releases/DAYLIGHT-SAVING-STARTS-ON-SUNDAY,-27th-OCTOBER-201.aspx
|
||||
-#
|
||||
-# From Paul Eggert (2013-09-09):
|
||||
+
|
||||
+# From Steffen Thorsen (2013-01-10):
|
||||
+# Fiji will end DST on 2014-01-19 02:00:
|
||||
+# http://www.fiji.gov.fj/Media-Center/Press-Releases/DAYLIGHT-SAVINGS-TO-END-THIS-MONTH-%281%29.aspx
|
||||
+
|
||||
+# From Paul Eggert (2014-10-10):
|
||||
# For now, guess that Fiji springs forward the Sunday before the fourth
|
||||
-# Monday in October. This matches both recent practice and
|
||||
-# timeanddate.com's current spring-forward prediction.
|
||||
-# For the January 2014 transition we guessed right while timeanddate.com
|
||||
-# guessed wrong, so leave the fall-back prediction alone.
|
||||
+# Monday in October, and springs back the penultimate Sunday in January.
|
||||
+# This is ad hoc, but matches recent practice.
|
||||
|
||||
# Rule NAME FROM TO TYPE IN ON AT SAVE LETTER/S
|
||||
Rule Fiji 1998 1999 - Nov Sun>=1 2:00 1:00 S
|
||||
@@ -372,7 +374,8 @@ Rule Fiji 2009 only - Nov 29 2:00 1:00 S
|
||||
Rule Fiji 2010 only - Mar lastSun 3:00 0 -
|
||||
Rule Fiji 2010 max - Oct Sun>=21 2:00 1:00 S
|
||||
Rule Fiji 2011 only - Mar Sun>=1 3:00 0 -
|
||||
-Rule Fiji 2012 max - Jan Sun>=18 3:00 0 -
|
||||
+Rule Fiji 2012 2013 - Jan Sun>=18 3:00 0 -
|
||||
+Rule Fiji 2014 max - Jan Sun>=18 2:00 0 -
|
||||
# Zone NAME GMTOFF RULES FORMAT [UNTIL]
|
||||
Zone Pacific/Fiji 11:55:44 - LMT 1915 Oct 26 # Suva
|
||||
12:00 Fiji FJ%sT # Fiji Time
|
||||
diff -Nrup a/NEWS b/NEWS
|
||||
--- a/NEWS 2013-12-17 10:26:04.000000000 -0500
|
||||
+++ b/NEWS 2014-01-21 11:37:08.136130469 -0500
|
||||
@@ -13,6 +13,11 @@ Release 2013i - 2013-12-17 07:25:23 -080
|
||||
In 2004, Cuba began DST on March 28, not April 4.
|
||||
(Thanks to Steffen Thorsen.)
|
||||
|
||||
+ Changes affecting near-future time stamps
|
||||
+
|
||||
+ Fiji ends DST on 2014-01-19 at 02:00, not the previously-scheduled 03:00.
|
||||
+ (Thanks to Steffen Thorsen.)
|
||||
+
|
||||
Changes affecting code
|
||||
|
||||
The compile-time flag NOSOLAR has been removed, as nowadays the
|
44
7090844.patch
Normal file
44
7090844.patch
Normal file
@ -0,0 +1,44 @@
|
||||
diff --git a/7090844.patch b/7090844.patch
|
||||
new file mode 100644
|
||||
index 0000000..fd5b531
|
||||
--- /dev/null
|
||||
+++ b/7090844.patch
|
||||
@@ -0,0 +1,38 @@
|
||||
+--- sun/tools/javazic/Mappings.java.orig 2015-04-13 12:42:30.000000000 -0400
|
||||
++++ sun/tools/javazic/Mappings.java 2015-04-13 12:43:32.000000000 -0400
|
||||
+@@ -1,5 +1,5 @@
|
||||
+ /*
|
||||
+- * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
|
||||
++ * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
+ *
|
||||
+ * This code is free software; you can redistribute it and/or modify it
|
||||
+@@ -26,9 +26,6 @@
|
||||
+ package sun.tools.javazic;
|
||||
+
|
||||
+ import java.util.ArrayList;
|
||||
+-import java.util.HashMap;
|
||||
+-import java.util.HashSet;
|
||||
+-import java.util.Iterator;
|
||||
+ import java.util.LinkedList;
|
||||
+ import java.util.List;
|
||||
+ import java.util.Map;
|
||||
+@@ -79,8 +76,8 @@
|
||||
+ // If the GMT offset of this Zone will change in some
|
||||
+ // future time, this Zone is added to the exclude list.
|
||||
+ boolean isExcluded = false;
|
||||
+- if (zone.size() > 1) {
|
||||
+- ZoneRec zrec = zone.get(zone.size()-2);
|
||||
++ for (int i = 0; i < zone.size(); i++) {
|
||||
++ ZoneRec zrec = zone.get(i);
|
||||
+ if ((zrec.getGmtOffset() != rawOffset)
|
||||
+ && (zrec.getUntilTime(0) > Time.getCurrentTime())) {
|
||||
+ if (excludeList == null) {
|
||||
+@@ -88,6 +85,7 @@
|
||||
+ }
|
||||
+ excludeList.add(zone.getName());
|
||||
+ isExcluded = true;
|
||||
++ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
44
7133138.patch
Normal file
44
7133138.patch
Normal file
@ -0,0 +1,44 @@
|
||||
diff --git a/7133138.patch b/7133138.patch
|
||||
new file mode 100644
|
||||
index 0000000..882f15f
|
||||
--- /dev/null
|
||||
+++ b/7133138.patch
|
||||
@@ -0,0 +1,38 @@
|
||||
+--- sun/tools/javazic/Mappings.java.orig 2015-04-13 12:44:10.000000000 -0400
|
||||
++++ sun/tools/javazic/Mappings.java 2015-04-13 12:45:28.000000000 -0400
|
||||
+@@ -1,5 +1,5 @@
|
||||
+ /*
|
||||
+- * Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
|
||||
++ * Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.
|
||||
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
+ *
|
||||
+ * This code is free software; you can redistribute it and/or modify it
|
||||
+@@ -26,6 +26,7 @@
|
||||
+ package sun.tools.javazic;
|
||||
+
|
||||
+ import java.util.ArrayList;
|
||||
++import java.util.HashMap;
|
||||
+ import java.util.LinkedList;
|
||||
+ import java.util.List;
|
||||
+ import java.util.Map;
|
||||
+@@ -162,6 +163,20 @@
|
||||
+ for (String key : toBeRemoved) {
|
||||
+ aliases.remove(key);
|
||||
+ }
|
||||
++ // Eliminate any alias-to-alias mappings. For example, if
|
||||
++ // there are A->B and B->C, A->B is changed to A->C.
|
||||
++ Map<String, String> newMap = new HashMap<String, String>();
|
||||
++ for (String key : aliases.keySet()) {
|
||||
++ String realid = aliases.get(key);
|
||||
++ String leaf = realid;
|
||||
++ while (aliases.get(leaf) != null) {
|
||||
++ leaf = aliases.get(leaf);
|
||||
++ }
|
||||
++ if (!realid.equals(leaf)) {
|
||||
++ newMap.put(key, leaf);
|
||||
++ }
|
||||
++ }
|
||||
++ aliases.putAll(newMap);
|
||||
+ }
|
||||
+
|
||||
+ Map<String,String> getAliases() {
|
42
javazic-exclusion-fix.patch
Normal file
42
javazic-exclusion-fix.patch
Normal file
@ -0,0 +1,42 @@
|
||||
# Patch based on fix in JDK8 tree by Yuka Kamiya from Oracle:
|
||||
# http://hg.openjdk.java.net/jdk8/tl/jdk/rev/f114bddac6d6
|
||||
|
||||
diff -up ./sun/tools/javazic/Mappings.java.sav ./sun/tools/javazic/Mappings.java
|
||||
--- ./sun/tools/javazic/Mappings.java.sav 2011-11-03 16:31:53.000000000 -0400
|
||||
+++ ./sun/tools/javazic/Mappings.java 2011-11-03 16:41:44.000000000 -0400
|
||||
@@ -77,15 +77,17 @@ class Mappings {
|
||||
int rawOffset = zone.get(zone.size()-1).getGmtOffset();
|
||||
// If the GMT offset of this Zone will change in some
|
||||
// future time, this Zone is added to the exclude list.
|
||||
- if (zone.size() > 1) {
|
||||
- ZoneRec zrec = zone.get(zone.size()-2);
|
||||
+ boolean isExcluded = false;
|
||||
+ for (int i = 0; i < zone.size(); i++) {
|
||||
+ ZoneRec zrec = zone.get(i);
|
||||
if ((zrec.getGmtOffset() != rawOffset)
|
||||
&& (zrec.getUntilTime(0) > Time.getCurrentTime())) {
|
||||
if (excludeList == null) {
|
||||
excludeList = new ArrayList<String>();
|
||||
}
|
||||
excludeList.add(zone.getName());
|
||||
- continue;
|
||||
+ isExcluded = true;
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,9 +103,13 @@ class Mappings {
|
||||
rawOffsetsIndex.add(i, rawOffset);
|
||||
|
||||
Set<String> perRawOffset = new TreeSet<String>();
|
||||
+ if (!isExcluded) {
|
||||
+ perRawOffset = new TreeSet<String>();
|
||||
+ }
|
||||
+
|
||||
perRawOffset.add(zonename);
|
||||
rawOffsetsIndexTable.add(i, perRawOffset);
|
||||
- } else {
|
||||
+ } else if (!isExcluded) {
|
||||
int i = rawOffsetsIndex.indexOf(new Integer(rawOffset));
|
||||
Set<String> perRawOffset = rawOffsetsIndexTable.get(i);
|
||||
perRawOffset.add(zonename);
|
34
javazic-fixup.patch
Normal file
34
javazic-fixup.patch
Normal file
@ -0,0 +1,34 @@
|
||||
--- sun/util/calendar/LocalGregorianCalendar.java.keiths 2007-09-07 14:48:19.000000000 -0700
|
||||
+++ sun/util/calendar/LocalGregorianCalendar.java 2007-09-07 14:52:58.000000000 -0700
|
||||
@@ -120,8 +120,7 @@ public class LocalGregorianCalendar exte
|
||||
static LocalGregorianCalendar getLocalGregorianCalendar(String name) {
|
||||
Properties calendarProps = null;
|
||||
try {
|
||||
- String homeDir = (String) AccessController.doPrivileged(
|
||||
- new sun.security.action.GetPropertyAction("java.home"));
|
||||
+ String homeDir = (String) System.getProperty("java.home");
|
||||
final String fname = homeDir + File.separator + "lib" + File.separator
|
||||
+ "calendars.properties";
|
||||
calendarProps = (Properties) AccessController.doPrivileged(new PrivilegedExceptionAction() {
|
||||
--- sun/util/calendar/ZoneInfoFile.java.keiths 2007-09-07 14:54:58.000000000 -0700
|
||||
+++ sun/util/calendar/ZoneInfoFile.java 2007-09-07 14:55:36.000000000 -0700
|
||||
@@ -1021,8 +1021,7 @@ public class ZoneInfoFile {
|
||||
byte[] buffer = null;
|
||||
|
||||
try {
|
||||
- String zi_dir = (String) AccessController.doPrivileged(
|
||||
- new sun.security.action.GetPropertyAction("user.zoneinfo.dir"));
|
||||
+ String zi_dir = (String) System.getProperty("user.zoneinfo.dir");
|
||||
File dir = null;
|
||||
if (zi_dir != null)
|
||||
dir = new File(zi_dir);
|
||||
@@ -1035,8 +1034,7 @@ public class ZoneInfoFile {
|
||||
}
|
||||
|
||||
if (dir == null) {
|
||||
- String homeDir = (String) AccessController.doPrivileged(
|
||||
- new sun.security.action.GetPropertyAction("java.home"));
|
||||
+ String homeDir = (String) System.getProperty("java.home");
|
||||
zi_dir = homeDir + File.separator + "lib" + File.separator
|
||||
+ "zi";
|
||||
}
|
37
rebase-01.patch
Normal file
37
rebase-01.patch
Normal file
@ -0,0 +1,37 @@
|
||||
diff --git a/rebase-01.patch b/rebase-01.patch
|
||||
new file mode 100644
|
||||
index 0000000..bca6ed4
|
||||
--- /dev/null
|
||||
+++ b/rebase-01.patch
|
||||
@@ -0,0 +1,31 @@
|
||||
+--- sun/tools/javazic/Mappings.java.orig 2007-08-30 03:55:48.000000000 -0400
|
||||
++++ sun/tools/javazic/Mappings.java 2015-04-13 12:39:44.000000000 -0400
|
||||
+@@ -1,12 +1,12 @@
|
||||
+ /*
|
||||
+- * Copyright 2000-2004 Sun Microsystems, Inc. All Rights Reserved.
|
||||
++ * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved.
|
||||
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
+ *
|
||||
+ * This code is free software; you can redistribute it and/or modify it
|
||||
+ * under the terms of the GNU General Public License version 2 only, as
|
||||
+- * published by the Free Software Foundation. Sun designates this
|
||||
++ * published by the Free Software Foundation. Oracle designates this
|
||||
+ * particular file as subject to the "Classpath" exception as provided
|
||||
+- * by Sun in the LICENSE file that accompanied this code.
|
||||
++ * by Oracle in the LICENSE file that accompanied this code.
|
||||
+ *
|
||||
+ * This code is distributed in the hope that it will be useful, but WITHOUT
|
||||
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
+@@ -18,9 +18,9 @@
|
||||
+ * 2 along with this work; if not, write to the Free Software Foundation,
|
||||
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
+ *
|
||||
+- * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
|
||||
+- * CA 95054 USA or visit www.sun.com if you need additional information or
|
||||
+- * have any questions.
|
||||
++ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
||||
++ * or visit www.oracle.com if you need additional information or have any
|
||||
++ * questions.
|
||||
+ */
|
||||
+
|
||||
+ package sun.tools.javazic;
|
42
rebase-02.patch
Normal file
42
rebase-02.patch
Normal file
@ -0,0 +1,42 @@
|
||||
diff --git a/rebase-02.patch b/rebase-02.patch
|
||||
new file mode 100644
|
||||
index 0000000..0f57125
|
||||
--- /dev/null
|
||||
+++ b/rebase-02.patch
|
||||
@@ -0,0 +1,36 @@
|
||||
+--- sun/tools/javazic/Mappings.java.orig 2015-04-13 12:40:26.000000000 -0400
|
||||
++++ sun/tools/javazic/Mappings.java 2015-04-13 12:42:11.000000000 -0400
|
||||
+@@ -75,8 +75,10 @@
|
||||
+ Zone zone = zones.get(zoneName);
|
||||
+ String zonename = zone.getName();
|
||||
+ int rawOffset = zone.get(zone.size()-1).getGmtOffset();
|
||||
++
|
||||
+ // If the GMT offset of this Zone will change in some
|
||||
+ // future time, this Zone is added to the exclude list.
|
||||
++ boolean isExcluded = false;
|
||||
+ if (zone.size() > 1) {
|
||||
+ ZoneRec zrec = zone.get(zone.size()-2);
|
||||
+ if ((zrec.getGmtOffset() != rawOffset)
|
||||
+@@ -85,7 +87,7 @@
|
||||
+ excludeList = new ArrayList<String>();
|
||||
+ }
|
||||
+ excludeList.add(zone.getName());
|
||||
+- continue;
|
||||
++ isExcluded = true;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+@@ -101,9 +103,11 @@
|
||||
+ rawOffsetsIndex.add(i, rawOffset);
|
||||
+
|
||||
+ Set<String> perRawOffset = new TreeSet<String>();
|
||||
+- perRawOffset.add(zonename);
|
||||
++ if (!isExcluded) {
|
||||
++ perRawOffset.add(zonename);
|
||||
++ }
|
||||
+ rawOffsetsIndexTable.add(i, perRawOffset);
|
||||
+- } else {
|
||||
++ } else if (!isExcluded) {
|
||||
+ int i = rawOffsetsIndex.indexOf(new Integer(rawOffset));
|
||||
+ Set<String> perRawOffset = rawOffsetsIndexTable.get(i);
|
||||
+ perRawOffset.add(zonename);
|
4
sources
Normal file
4
sources
Normal file
@ -0,0 +1,4 @@
|
||||
SHA512 (javazic.tar.gz) = c23a4a437a87d0792f23e98025520a11273fc3d12ef5dcf64af8332ed60ba9ce77eaadfd234cee92b3ca9dc08b9e4123e804745925d68ddbd0b2e1e9039e526b
|
||||
SHA512 (javazic-1.8-37392f2f5d59.tar.xz) = 2ba718dfeed53a3bd6b44e3dfe96338a609e482e4e6d942e2a7e622fc6c52606cb323ac3a59739c463e34f70fff217c0a61f5b3d3c4958eff2801b1504ee4204
|
||||
SHA512 (tzcode2020b.tar.gz) = 04849f196430717962cbeedf11bbba592c304eaff5d67350c936af83dc8e8cb4cedc1c5f461c984aef05124d6c0f13a874789dff77b85a4b399faf80d75537e0
|
||||
SHA512 (tzdata2020b.tar.gz) = 27ade698e61881e637ab04834633595cfbdb08fd97177e9731093165d1268a64dffa0570b5e137b9daa4374e6c6827ed01c476074ec61ec0b9a44a7f23479be9
|
3
tests/inventory
Executable file
3
tests/inventory
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
export TEST_DOCKER_EXTRA_ARGS="-v /dev:/dev --privileged"
|
||||
exec merge-standard-inventory "$@"
|
73
tests/sanity/Makefile
Normal file
73
tests/sanity/Makefile
Normal file
@ -0,0 +1,73 @@
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Makefile of /CoreOS/tzdata/sanity
|
||||
# Description: Basic sanity test
|
||||
# Author: John Poelstra <poelstra@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2006 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
# The toplevel namespace within which the test lives.
|
||||
TOPLEVEL_NAMESPACE=/CoreOS
|
||||
|
||||
# The name of the package under test:
|
||||
PACKAGE_NAME=tzdata
|
||||
|
||||
# The path of the test below the package:
|
||||
RELATIVE_PATH=sanity
|
||||
|
||||
# Version of the Test. Used with make tag.
|
||||
export TESTVERSION=1.4
|
||||
|
||||
# The combined namespace of the test.
|
||||
#export TEST=$(TOPLEVEL_NAMESPACE)/$(PACKAGE_NAME)/$(RELATIVE_PATH)
|
||||
export TEST=/CoreOS/tzdata/sanity
|
||||
.PHONY: all install download clean
|
||||
|
||||
BUILT_FILES=
|
||||
FILES=$(METADATA) tzdata-test.sh runtest.sh PURPOSE timezones.txt expected.results dates.txt
|
||||
|
||||
run: $(FILES) build
|
||||
./runtest.sh
|
||||
|
||||
build: $(BUILT_FILES)
|
||||
chmod a+x ./runtest.sh
|
||||
chmod a+x ./tzdata-test.sh
|
||||
|
||||
clean:
|
||||
rm -f *~ *.rpm $(BUILT_FILES)
|
||||
|
||||
# Include Common Makefile
|
||||
include /usr/share/rhts/lib/rhts-make.include
|
||||
|
||||
# Generate the testinfo.desc here:
|
||||
$(METADATA): Makefile
|
||||
@touch $(METADATA)
|
||||
@echo "Owner: Karel Volny <kvolny@redhat.com>" > $(METADATA)
|
||||
@echo "Name: $(TEST)" >> $(METADATA)
|
||||
@echo "Path: $(TEST_DIR)" >> $(METADATA)
|
||||
@echo "License: GPLv2+" >> $(METADATA)
|
||||
@echo "TestVersion: $(TESTVERSION)" >> $(METADATA)
|
||||
@echo "Description: Basic sanity test for the tzdata package">> $(METADATA)
|
||||
@echo "TestTime: 1m" >> $(METADATA)
|
||||
@echo "RunFor: $(PACKAGE_NAME)" >> $(METADATA)
|
||||
@echo "Requires: $(PACKAGE_NAME)" >> $(METADATA)
|
||||
@echo "Type: Regression" >> $(METADATA)
|
||||
# You may need other fields here; see the documentation
|
||||
rhts-lint $(METADATA)
|
1
tests/sanity/PURPOSE
Normal file
1
tests/sanity/PURPOSE
Normal file
@ -0,0 +1 @@
|
||||
This is a simple regression test of tzdata which tests the installed version against expected values.
|
10
tests/sanity/dates.txt
Normal file
10
tests/sanity/dates.txt
Normal file
@ -0,0 +1,10 @@
|
||||
2003-08-03 22:43:22 UTC
|
||||
2003-02-03 22:43:22 UTC
|
||||
2004-08-03 22:43:22 UTC
|
||||
2004-02-03 22:43:22 UTC
|
||||
2005-08-03 22:43:22 UTC
|
||||
2005-02-03 22:43:22 UTC
|
||||
2006-08-03 22:43:22 UTC
|
||||
2006-02-03 22:43:22 UTC
|
||||
2007-08-03 22:43:22 UTC
|
||||
2007-02-03 22:43:22 UTC
|
320
tests/sanity/expected.results
Normal file
320
tests/sanity/expected.results
Normal file
@ -0,0 +1,320 @@
|
||||
Europe/Berlin 2003-08-03 22:43:22 UTC -> Mon Aug 4 00:43:22 CEST 2003
|
||||
Europe/Berlin 2003-02-03 22:43:22 UTC -> Mon Feb 3 23:43:22 CET 2003
|
||||
Europe/Berlin 2004-08-03 22:43:22 UTC -> Wed Aug 4 00:43:22 CEST 2004
|
||||
Europe/Berlin 2004-02-03 22:43:22 UTC -> Tue Feb 3 23:43:22 CET 2004
|
||||
Europe/Berlin 2005-08-03 22:43:22 UTC -> Thu Aug 4 00:43:22 CEST 2005
|
||||
Europe/Berlin 2005-02-03 22:43:22 UTC -> Thu Feb 3 23:43:22 CET 2005
|
||||
Europe/Berlin 2006-08-03 22:43:22 UTC -> Fri Aug 4 00:43:22 CEST 2006
|
||||
Europe/Berlin 2006-02-03 22:43:22 UTC -> Fri Feb 3 23:43:22 CET 2006
|
||||
Europe/Berlin 2007-08-03 22:43:22 UTC -> Sat Aug 4 00:43:22 CEST 2007
|
||||
Europe/Berlin 2007-02-03 22:43:22 UTC -> Sat Feb 3 23:43:22 CET 2007
|
||||
Europe/Paris 2003-08-03 22:43:22 UTC -> Mon Aug 4 00:43:22 CEST 2003
|
||||
Europe/Paris 2003-02-03 22:43:22 UTC -> Mon Feb 3 23:43:22 CET 2003
|
||||
Europe/Paris 2004-08-03 22:43:22 UTC -> Wed Aug 4 00:43:22 CEST 2004
|
||||
Europe/Paris 2004-02-03 22:43:22 UTC -> Tue Feb 3 23:43:22 CET 2004
|
||||
Europe/Paris 2005-08-03 22:43:22 UTC -> Thu Aug 4 00:43:22 CEST 2005
|
||||
Europe/Paris 2005-02-03 22:43:22 UTC -> Thu Feb 3 23:43:22 CET 2005
|
||||
Europe/Paris 2006-08-03 22:43:22 UTC -> Fri Aug 4 00:43:22 CEST 2006
|
||||
Europe/Paris 2006-02-03 22:43:22 UTC -> Fri Feb 3 23:43:22 CET 2006
|
||||
Europe/Paris 2007-08-03 22:43:22 UTC -> Sat Aug 4 00:43:22 CEST 2007
|
||||
Europe/Paris 2007-02-03 22:43:22 UTC -> Sat Feb 3 23:43:22 CET 2007
|
||||
Europe/London 2003-08-03 22:43:22 UTC -> Sun Aug 3 23:43:22 BST 2003
|
||||
Europe/London 2003-02-03 22:43:22 UTC -> Mon Feb 3 22:43:22 GMT 2003
|
||||
Europe/London 2004-08-03 22:43:22 UTC -> Tue Aug 3 23:43:22 BST 2004
|
||||
Europe/London 2004-02-03 22:43:22 UTC -> Tue Feb 3 22:43:22 GMT 2004
|
||||
Europe/London 2005-08-03 22:43:22 UTC -> Wed Aug 3 23:43:22 BST 2005
|
||||
Europe/London 2005-02-03 22:43:22 UTC -> Thu Feb 3 22:43:22 GMT 2005
|
||||
Europe/London 2006-08-03 22:43:22 UTC -> Thu Aug 3 23:43:22 BST 2006
|
||||
Europe/London 2006-02-03 22:43:22 UTC -> Fri Feb 3 22:43:22 GMT 2006
|
||||
Europe/London 2007-08-03 22:43:22 UTC -> Fri Aug 3 23:43:22 BST 2007
|
||||
Europe/London 2007-02-03 22:43:22 UTC -> Sat Feb 3 22:43:22 GMT 2007
|
||||
Europe/Prague 2003-08-03 22:43:22 UTC -> Mon Aug 4 00:43:22 CEST 2003
|
||||
Europe/Prague 2003-02-03 22:43:22 UTC -> Mon Feb 3 23:43:22 CET 2003
|
||||
Europe/Prague 2004-08-03 22:43:22 UTC -> Wed Aug 4 00:43:22 CEST 2004
|
||||
Europe/Prague 2004-02-03 22:43:22 UTC -> Tue Feb 3 23:43:22 CET 2004
|
||||
Europe/Prague 2005-08-03 22:43:22 UTC -> Thu Aug 4 00:43:22 CEST 2005
|
||||
Europe/Prague 2005-02-03 22:43:22 UTC -> Thu Feb 3 23:43:22 CET 2005
|
||||
Europe/Prague 2006-08-03 22:43:22 UTC -> Fri Aug 4 00:43:22 CEST 2006
|
||||
Europe/Prague 2006-02-03 22:43:22 UTC -> Fri Feb 3 23:43:22 CET 2006
|
||||
Europe/Prague 2007-08-03 22:43:22 UTC -> Sat Aug 4 00:43:22 CEST 2007
|
||||
Europe/Prague 2007-02-03 22:43:22 UTC -> Sat Feb 3 23:43:22 CET 2007
|
||||
US/Alaska 2003-08-03 22:43:22 UTC -> Sun Aug 3 14:43:22 AKDT 2003
|
||||
US/Alaska 2003-02-03 22:43:22 UTC -> Mon Feb 3 13:43:22 AKST 2003
|
||||
US/Alaska 2004-08-03 22:43:22 UTC -> Tue Aug 3 14:43:22 AKDT 2004
|
||||
US/Alaska 2004-02-03 22:43:22 UTC -> Tue Feb 3 13:43:22 AKST 2004
|
||||
US/Alaska 2005-08-03 22:43:22 UTC -> Wed Aug 3 14:43:22 AKDT 2005
|
||||
US/Alaska 2005-02-03 22:43:22 UTC -> Thu Feb 3 13:43:22 AKST 2005
|
||||
US/Alaska 2006-08-03 22:43:22 UTC -> Thu Aug 3 14:43:22 AKDT 2006
|
||||
US/Alaska 2006-02-03 22:43:22 UTC -> Fri Feb 3 13:43:22 AKST 2006
|
||||
US/Alaska 2007-08-03 22:43:22 UTC -> Fri Aug 3 14:43:22 AKDT 2007
|
||||
US/Alaska 2007-02-03 22:43:22 UTC -> Sat Feb 3 13:43:22 AKST 2007
|
||||
US/Aleutian 2003-08-03 22:43:22 UTC -> Sun Aug 3 13:43:22 HDT 2003
|
||||
US/Aleutian 2003-02-03 22:43:22 UTC -> Mon Feb 3 12:43:22 HST 2003
|
||||
US/Aleutian 2004-08-03 22:43:22 UTC -> Tue Aug 3 13:43:22 HDT 2004
|
||||
US/Aleutian 2004-02-03 22:43:22 UTC -> Tue Feb 3 12:43:22 HST 2004
|
||||
US/Aleutian 2005-08-03 22:43:22 UTC -> Wed Aug 3 13:43:22 HDT 2005
|
||||
US/Aleutian 2005-02-03 22:43:22 UTC -> Thu Feb 3 12:43:22 HST 2005
|
||||
US/Aleutian 2006-08-03 22:43:22 UTC -> Thu Aug 3 13:43:22 HDT 2006
|
||||
US/Aleutian 2006-02-03 22:43:22 UTC -> Fri Feb 3 12:43:22 HST 2006
|
||||
US/Aleutian 2007-08-03 22:43:22 UTC -> Fri Aug 3 13:43:22 HDT 2007
|
||||
US/Aleutian 2007-02-03 22:43:22 UTC -> Sat Feb 3 12:43:22 HST 2007
|
||||
US/Arizona 2003-08-03 22:43:22 UTC -> Sun Aug 3 15:43:22 MST 2003
|
||||
US/Arizona 2003-02-03 22:43:22 UTC -> Mon Feb 3 15:43:22 MST 2003
|
||||
US/Arizona 2004-08-03 22:43:22 UTC -> Tue Aug 3 15:43:22 MST 2004
|
||||
US/Arizona 2004-02-03 22:43:22 UTC -> Tue Feb 3 15:43:22 MST 2004
|
||||
US/Arizona 2005-08-03 22:43:22 UTC -> Wed Aug 3 15:43:22 MST 2005
|
||||
US/Arizona 2005-02-03 22:43:22 UTC -> Thu Feb 3 15:43:22 MST 2005
|
||||
US/Arizona 2006-08-03 22:43:22 UTC -> Thu Aug 3 15:43:22 MST 2006
|
||||
US/Arizona 2006-02-03 22:43:22 UTC -> Fri Feb 3 15:43:22 MST 2006
|
||||
US/Arizona 2007-08-03 22:43:22 UTC -> Fri Aug 3 15:43:22 MST 2007
|
||||
US/Arizona 2007-02-03 22:43:22 UTC -> Sat Feb 3 15:43:22 MST 2007
|
||||
US/Central 2003-08-03 22:43:22 UTC -> Sun Aug 3 17:43:22 CDT 2003
|
||||
US/Central 2003-02-03 22:43:22 UTC -> Mon Feb 3 16:43:22 CST 2003
|
||||
US/Central 2004-08-03 22:43:22 UTC -> Tue Aug 3 17:43:22 CDT 2004
|
||||
US/Central 2004-02-03 22:43:22 UTC -> Tue Feb 3 16:43:22 CST 2004
|
||||
US/Central 2005-08-03 22:43:22 UTC -> Wed Aug 3 17:43:22 CDT 2005
|
||||
US/Central 2005-02-03 22:43:22 UTC -> Thu Feb 3 16:43:22 CST 2005
|
||||
US/Central 2006-08-03 22:43:22 UTC -> Thu Aug 3 17:43:22 CDT 2006
|
||||
US/Central 2006-02-03 22:43:22 UTC -> Fri Feb 3 16:43:22 CST 2006
|
||||
US/Central 2007-08-03 22:43:22 UTC -> Fri Aug 3 17:43:22 CDT 2007
|
||||
US/Central 2007-02-03 22:43:22 UTC -> Sat Feb 3 16:43:22 CST 2007
|
||||
US/Eastern 2003-08-03 22:43:22 UTC -> Sun Aug 3 18:43:22 EDT 2003
|
||||
US/Eastern 2003-02-03 22:43:22 UTC -> Mon Feb 3 17:43:22 EST 2003
|
||||
US/Eastern 2004-08-03 22:43:22 UTC -> Tue Aug 3 18:43:22 EDT 2004
|
||||
US/Eastern 2004-02-03 22:43:22 UTC -> Tue Feb 3 17:43:22 EST 2004
|
||||
US/Eastern 2005-08-03 22:43:22 UTC -> Wed Aug 3 18:43:22 EDT 2005
|
||||
US/Eastern 2005-02-03 22:43:22 UTC -> Thu Feb 3 17:43:22 EST 2005
|
||||
US/Eastern 2006-08-03 22:43:22 UTC -> Thu Aug 3 18:43:22 EDT 2006
|
||||
US/Eastern 2006-02-03 22:43:22 UTC -> Fri Feb 3 17:43:22 EST 2006
|
||||
US/Eastern 2007-08-03 22:43:22 UTC -> Fri Aug 3 18:43:22 EDT 2007
|
||||
US/Eastern 2007-02-03 22:43:22 UTC -> Sat Feb 3 17:43:22 EST 2007
|
||||
US/East-Indiana 2003-08-03 22:43:22 UTC -> Sun Aug 3 17:43:22 EST 2003
|
||||
US/East-Indiana 2003-02-03 22:43:22 UTC -> Mon Feb 3 17:43:22 EST 2003
|
||||
US/East-Indiana 2004-08-03 22:43:22 UTC -> Tue Aug 3 17:43:22 EST 2004
|
||||
US/East-Indiana 2004-02-03 22:43:22 UTC -> Tue Feb 3 17:43:22 EST 2004
|
||||
US/East-Indiana 2005-08-03 22:43:22 UTC -> Wed Aug 3 17:43:22 EST 2005
|
||||
US/East-Indiana 2005-02-03 22:43:22 UTC -> Thu Feb 3 17:43:22 EST 2005
|
||||
US/East-Indiana 2006-08-03 22:43:22 UTC -> Thu Aug 3 18:43:22 EDT 2006
|
||||
US/East-Indiana 2006-02-03 22:43:22 UTC -> Fri Feb 3 17:43:22 EST 2006
|
||||
US/East-Indiana 2007-08-03 22:43:22 UTC -> Fri Aug 3 18:43:22 EDT 2007
|
||||
US/East-Indiana 2007-02-03 22:43:22 UTC -> Sat Feb 3 17:43:22 EST 2007
|
||||
US/Hawaii 2003-08-03 22:43:22 UTC -> Sun Aug 3 12:43:22 HST 2003
|
||||
US/Hawaii 2003-02-03 22:43:22 UTC -> Mon Feb 3 12:43:22 HST 2003
|
||||
US/Hawaii 2004-08-03 22:43:22 UTC -> Tue Aug 3 12:43:22 HST 2004
|
||||
US/Hawaii 2004-02-03 22:43:22 UTC -> Tue Feb 3 12:43:22 HST 2004
|
||||
US/Hawaii 2005-08-03 22:43:22 UTC -> Wed Aug 3 12:43:22 HST 2005
|
||||
US/Hawaii 2005-02-03 22:43:22 UTC -> Thu Feb 3 12:43:22 HST 2005
|
||||
US/Hawaii 2006-08-03 22:43:22 UTC -> Thu Aug 3 12:43:22 HST 2006
|
||||
US/Hawaii 2006-02-03 22:43:22 UTC -> Fri Feb 3 12:43:22 HST 2006
|
||||
US/Hawaii 2007-08-03 22:43:22 UTC -> Fri Aug 3 12:43:22 HST 2007
|
||||
US/Hawaii 2007-02-03 22:43:22 UTC -> Sat Feb 3 12:43:22 HST 2007
|
||||
US/Indiana-Starke 2003-08-03 22:43:22 UTC -> Sun Aug 3 17:43:22 EST 2003
|
||||
US/Indiana-Starke 2003-02-03 22:43:22 UTC -> Mon Feb 3 17:43:22 EST 2003
|
||||
US/Indiana-Starke 2004-08-03 22:43:22 UTC -> Tue Aug 3 17:43:22 EST 2004
|
||||
US/Indiana-Starke 2004-02-03 22:43:22 UTC -> Tue Feb 3 17:43:22 EST 2004
|
||||
US/Indiana-Starke 2005-08-03 22:43:22 UTC -> Wed Aug 3 17:43:22 EST 2005
|
||||
US/Indiana-Starke 2005-02-03 22:43:22 UTC -> Thu Feb 3 17:43:22 EST 2005
|
||||
US/Indiana-Starke 2006-08-03 22:43:22 UTC -> Thu Aug 3 17:43:22 CDT 2006
|
||||
US/Indiana-Starke 2006-02-03 22:43:22 UTC -> Fri Feb 3 17:43:22 EST 2006
|
||||
US/Indiana-Starke 2007-08-03 22:43:22 UTC -> Fri Aug 3 17:43:22 CDT 2007
|
||||
US/Indiana-Starke 2007-02-03 22:43:22 UTC -> Sat Feb 3 16:43:22 CST 2007
|
||||
US/Michigan 2003-08-03 22:43:22 UTC -> Sun Aug 3 18:43:22 EDT 2003
|
||||
US/Michigan 2003-02-03 22:43:22 UTC -> Mon Feb 3 17:43:22 EST 2003
|
||||
US/Michigan 2004-08-03 22:43:22 UTC -> Tue Aug 3 18:43:22 EDT 2004
|
||||
US/Michigan 2004-02-03 22:43:22 UTC -> Tue Feb 3 17:43:22 EST 2004
|
||||
US/Michigan 2005-08-03 22:43:22 UTC -> Wed Aug 3 18:43:22 EDT 2005
|
||||
US/Michigan 2005-02-03 22:43:22 UTC -> Thu Feb 3 17:43:22 EST 2005
|
||||
US/Michigan 2006-08-03 22:43:22 UTC -> Thu Aug 3 18:43:22 EDT 2006
|
||||
US/Michigan 2006-02-03 22:43:22 UTC -> Fri Feb 3 17:43:22 EST 2006
|
||||
US/Michigan 2007-08-03 22:43:22 UTC -> Fri Aug 3 18:43:22 EDT 2007
|
||||
US/Michigan 2007-02-03 22:43:22 UTC -> Sat Feb 3 17:43:22 EST 2007
|
||||
US/Mountain 2003-08-03 22:43:22 UTC -> Sun Aug 3 16:43:22 MDT 2003
|
||||
US/Mountain 2003-02-03 22:43:22 UTC -> Mon Feb 3 15:43:22 MST 2003
|
||||
US/Mountain 2004-08-03 22:43:22 UTC -> Tue Aug 3 16:43:22 MDT 2004
|
||||
US/Mountain 2004-02-03 22:43:22 UTC -> Tue Feb 3 15:43:22 MST 2004
|
||||
US/Mountain 2005-08-03 22:43:22 UTC -> Wed Aug 3 16:43:22 MDT 2005
|
||||
US/Mountain 2005-02-03 22:43:22 UTC -> Thu Feb 3 15:43:22 MST 2005
|
||||
US/Mountain 2006-08-03 22:43:22 UTC -> Thu Aug 3 16:43:22 MDT 2006
|
||||
US/Mountain 2006-02-03 22:43:22 UTC -> Fri Feb 3 15:43:22 MST 2006
|
||||
US/Mountain 2007-08-03 22:43:22 UTC -> Fri Aug 3 16:43:22 MDT 2007
|
||||
US/Mountain 2007-02-03 22:43:22 UTC -> Sat Feb 3 15:43:22 MST 2007
|
||||
US/Pacific 2003-08-03 22:43:22 UTC -> Sun Aug 3 15:43:22 PDT 2003
|
||||
US/Pacific 2003-02-03 22:43:22 UTC -> Mon Feb 3 14:43:22 PST 2003
|
||||
US/Pacific 2004-08-03 22:43:22 UTC -> Tue Aug 3 15:43:22 PDT 2004
|
||||
US/Pacific 2004-02-03 22:43:22 UTC -> Tue Feb 3 14:43:22 PST 2004
|
||||
US/Pacific 2005-08-03 22:43:22 UTC -> Wed Aug 3 15:43:22 PDT 2005
|
||||
US/Pacific 2005-02-03 22:43:22 UTC -> Thu Feb 3 14:43:22 PST 2005
|
||||
US/Pacific 2006-08-03 22:43:22 UTC -> Thu Aug 3 15:43:22 PDT 2006
|
||||
US/Pacific 2006-02-03 22:43:22 UTC -> Fri Feb 3 14:43:22 PST 2006
|
||||
US/Pacific 2007-08-03 22:43:22 UTC -> Fri Aug 3 15:43:22 PDT 2007
|
||||
US/Pacific 2007-02-03 22:43:22 UTC -> Sat Feb 3 14:43:22 PST 2007
|
||||
US/Samoa 2003-08-03 22:43:22 UTC -> Sun Aug 3 11:43:22 SST 2003
|
||||
US/Samoa 2003-02-03 22:43:22 UTC -> Mon Feb 3 11:43:22 SST 2003
|
||||
US/Samoa 2004-08-03 22:43:22 UTC -> Tue Aug 3 11:43:22 SST 2004
|
||||
US/Samoa 2004-02-03 22:43:22 UTC -> Tue Feb 3 11:43:22 SST 2004
|
||||
US/Samoa 2005-08-03 22:43:22 UTC -> Wed Aug 3 11:43:22 SST 2005
|
||||
US/Samoa 2005-02-03 22:43:22 UTC -> Thu Feb 3 11:43:22 SST 2005
|
||||
US/Samoa 2006-08-03 22:43:22 UTC -> Thu Aug 3 11:43:22 SST 2006
|
||||
US/Samoa 2006-02-03 22:43:22 UTC -> Fri Feb 3 11:43:22 SST 2006
|
||||
US/Samoa 2007-08-03 22:43:22 UTC -> Fri Aug 3 11:43:22 SST 2007
|
||||
US/Samoa 2007-02-03 22:43:22 UTC -> Sat Feb 3 11:43:22 SST 2007
|
||||
America/Bahia 2003-08-03 22:43:22 UTC -> Sun Aug 3 19:43:22 -03 2003
|
||||
America/Bahia 2003-02-03 22:43:22 UTC -> Mon Feb 3 20:43:22 -02 2003
|
||||
America/Bahia 2004-08-03 22:43:22 UTC -> Tue Aug 3 19:43:22 -03 2004
|
||||
America/Bahia 2004-02-03 22:43:22 UTC -> Tue Feb 3 19:43:22 -03 2004
|
||||
America/Bahia 2005-08-03 22:43:22 UTC -> Wed Aug 3 19:43:22 -03 2005
|
||||
America/Bahia 2005-02-03 22:43:22 UTC -> Thu Feb 3 19:43:22 -03 2005
|
||||
America/Bahia 2006-08-03 22:43:22 UTC -> Thu Aug 3 19:43:22 -03 2006
|
||||
America/Bahia 2006-02-03 22:43:22 UTC -> Fri Feb 3 19:43:22 -03 2006
|
||||
America/Bahia 2007-08-03 22:43:22 UTC -> Fri Aug 3 19:43:22 -03 2007
|
||||
America/Bahia 2007-02-03 22:43:22 UTC -> Sat Feb 3 19:43:22 -03 2007
|
||||
America/Bogota 2003-08-03 22:43:22 UTC -> Sun Aug 3 17:43:22 -05 2003
|
||||
America/Bogota 2003-02-03 22:43:22 UTC -> Mon Feb 3 17:43:22 -05 2003
|
||||
America/Bogota 2004-08-03 22:43:22 UTC -> Tue Aug 3 17:43:22 -05 2004
|
||||
America/Bogota 2004-02-03 22:43:22 UTC -> Tue Feb 3 17:43:22 -05 2004
|
||||
America/Bogota 2005-08-03 22:43:22 UTC -> Wed Aug 3 17:43:22 -05 2005
|
||||
America/Bogota 2005-02-03 22:43:22 UTC -> Thu Feb 3 17:43:22 -05 2005
|
||||
America/Bogota 2006-08-03 22:43:22 UTC -> Thu Aug 3 17:43:22 -05 2006
|
||||
America/Bogota 2006-02-03 22:43:22 UTC -> Fri Feb 3 17:43:22 -05 2006
|
||||
America/Bogota 2007-08-03 22:43:22 UTC -> Fri Aug 3 17:43:22 -05 2007
|
||||
America/Bogota 2007-02-03 22:43:22 UTC -> Sat Feb 3 17:43:22 -05 2007
|
||||
America/Costa_Rica 2003-08-03 22:43:22 UTC -> Sun Aug 3 16:43:22 CST 2003
|
||||
America/Costa_Rica 2003-02-03 22:43:22 UTC -> Mon Feb 3 16:43:22 CST 2003
|
||||
America/Costa_Rica 2004-08-03 22:43:22 UTC -> Tue Aug 3 16:43:22 CST 2004
|
||||
America/Costa_Rica 2004-02-03 22:43:22 UTC -> Tue Feb 3 16:43:22 CST 2004
|
||||
America/Costa_Rica 2005-08-03 22:43:22 UTC -> Wed Aug 3 16:43:22 CST 2005
|
||||
America/Costa_Rica 2005-02-03 22:43:22 UTC -> Thu Feb 3 16:43:22 CST 2005
|
||||
America/Costa_Rica 2006-08-03 22:43:22 UTC -> Thu Aug 3 16:43:22 CST 2006
|
||||
America/Costa_Rica 2006-02-03 22:43:22 UTC -> Fri Feb 3 16:43:22 CST 2006
|
||||
America/Costa_Rica 2007-08-03 22:43:22 UTC -> Fri Aug 3 16:43:22 CST 2007
|
||||
America/Costa_Rica 2007-02-03 22:43:22 UTC -> Sat Feb 3 16:43:22 CST 2007
|
||||
America/Jamaica 2003-08-03 22:43:22 UTC -> Sun Aug 3 17:43:22 EST 2003
|
||||
America/Jamaica 2003-02-03 22:43:22 UTC -> Mon Feb 3 17:43:22 EST 2003
|
||||
America/Jamaica 2004-08-03 22:43:22 UTC -> Tue Aug 3 17:43:22 EST 2004
|
||||
America/Jamaica 2004-02-03 22:43:22 UTC -> Tue Feb 3 17:43:22 EST 2004
|
||||
America/Jamaica 2005-08-03 22:43:22 UTC -> Wed Aug 3 17:43:22 EST 2005
|
||||
America/Jamaica 2005-02-03 22:43:22 UTC -> Thu Feb 3 17:43:22 EST 2005
|
||||
America/Jamaica 2006-08-03 22:43:22 UTC -> Thu Aug 3 17:43:22 EST 2006
|
||||
America/Jamaica 2006-02-03 22:43:22 UTC -> Fri Feb 3 17:43:22 EST 2006
|
||||
America/Jamaica 2007-08-03 22:43:22 UTC -> Fri Aug 3 17:43:22 EST 2007
|
||||
America/Jamaica 2007-02-03 22:43:22 UTC -> Sat Feb 3 17:43:22 EST 2007
|
||||
America/Mexico_City 2003-08-03 22:43:22 UTC -> Sun Aug 3 17:43:22 CDT 2003
|
||||
America/Mexico_City 2003-02-03 22:43:22 UTC -> Mon Feb 3 16:43:22 CST 2003
|
||||
America/Mexico_City 2004-08-03 22:43:22 UTC -> Tue Aug 3 17:43:22 CDT 2004
|
||||
America/Mexico_City 2004-02-03 22:43:22 UTC -> Tue Feb 3 16:43:22 CST 2004
|
||||
America/Mexico_City 2005-08-03 22:43:22 UTC -> Wed Aug 3 17:43:22 CDT 2005
|
||||
America/Mexico_City 2005-02-03 22:43:22 UTC -> Thu Feb 3 16:43:22 CST 2005
|
||||
America/Mexico_City 2006-08-03 22:43:22 UTC -> Thu Aug 3 17:43:22 CDT 2006
|
||||
America/Mexico_City 2006-02-03 22:43:22 UTC -> Fri Feb 3 16:43:22 CST 2006
|
||||
America/Mexico_City 2007-08-03 22:43:22 UTC -> Fri Aug 3 17:43:22 CDT 2007
|
||||
America/Mexico_City 2007-02-03 22:43:22 UTC -> Sat Feb 3 16:43:22 CST 2007
|
||||
America/Santiago 2003-08-03 22:43:22 UTC -> Sun Aug 3 18:43:22 -04 2003
|
||||
America/Santiago 2003-02-03 22:43:22 UTC -> Mon Feb 3 19:43:22 -03 2003
|
||||
America/Santiago 2004-08-03 22:43:22 UTC -> Tue Aug 3 18:43:22 -04 2004
|
||||
America/Santiago 2004-02-03 22:43:22 UTC -> Tue Feb 3 19:43:22 -03 2004
|
||||
America/Santiago 2005-08-03 22:43:22 UTC -> Wed Aug 3 18:43:22 -04 2005
|
||||
America/Santiago 2005-02-03 22:43:22 UTC -> Thu Feb 3 19:43:22 -03 2005
|
||||
America/Santiago 2006-08-03 22:43:22 UTC -> Thu Aug 3 18:43:22 -04 2006
|
||||
America/Santiago 2006-02-03 22:43:22 UTC -> Fri Feb 3 19:43:22 -03 2006
|
||||
America/Santiago 2007-08-03 22:43:22 UTC -> Fri Aug 3 18:43:22 -04 2007
|
||||
America/Santiago 2007-02-03 22:43:22 UTC -> Sat Feb 3 19:43:22 -03 2007
|
||||
Australia/Brisbane 2003-08-03 22:43:22 UTC -> Mon Aug 4 08:43:22 AEST 2003
|
||||
Australia/Brisbane 2003-02-03 22:43:22 UTC -> Tue Feb 4 08:43:22 AEST 2003
|
||||
Australia/Brisbane 2004-08-03 22:43:22 UTC -> Wed Aug 4 08:43:22 AEST 2004
|
||||
Australia/Brisbane 2004-02-03 22:43:22 UTC -> Wed Feb 4 08:43:22 AEST 2004
|
||||
Australia/Brisbane 2005-08-03 22:43:22 UTC -> Thu Aug 4 08:43:22 AEST 2005
|
||||
Australia/Brisbane 2005-02-03 22:43:22 UTC -> Fri Feb 4 08:43:22 AEST 2005
|
||||
Australia/Brisbane 2006-08-03 22:43:22 UTC -> Fri Aug 4 08:43:22 AEST 2006
|
||||
Australia/Brisbane 2006-02-03 22:43:22 UTC -> Sat Feb 4 08:43:22 AEST 2006
|
||||
Australia/Brisbane 2007-08-03 22:43:22 UTC -> Sat Aug 4 08:43:22 AEST 2007
|
||||
Australia/Brisbane 2007-02-03 22:43:22 UTC -> Sun Feb 4 08:43:22 AEST 2007
|
||||
Australia/West 2003-08-03 22:43:22 UTC -> Mon Aug 4 06:43:22 AWST 2003
|
||||
Australia/West 2003-02-03 22:43:22 UTC -> Tue Feb 4 06:43:22 AWST 2003
|
||||
Australia/West 2004-08-03 22:43:22 UTC -> Wed Aug 4 06:43:22 AWST 2004
|
||||
Australia/West 2004-02-03 22:43:22 UTC -> Wed Feb 4 06:43:22 AWST 2004
|
||||
Australia/West 2005-08-03 22:43:22 UTC -> Thu Aug 4 06:43:22 AWST 2005
|
||||
Australia/West 2005-02-03 22:43:22 UTC -> Fri Feb 4 06:43:22 AWST 2005
|
||||
Australia/West 2006-08-03 22:43:22 UTC -> Fri Aug 4 06:43:22 AWST 2006
|
||||
Australia/West 2006-02-03 22:43:22 UTC -> Sat Feb 4 06:43:22 AWST 2006
|
||||
Australia/West 2007-08-03 22:43:22 UTC -> Sat Aug 4 06:43:22 AWST 2007
|
||||
Australia/West 2007-02-03 22:43:22 UTC -> Sun Feb 4 07:43:22 AWDT 2007
|
||||
Australia/South 2003-08-03 22:43:22 UTC -> Mon Aug 4 08:13:22 ACST 2003
|
||||
Australia/South 2003-02-03 22:43:22 UTC -> Tue Feb 4 09:13:22 ACDT 2003
|
||||
Australia/South 2004-08-03 22:43:22 UTC -> Wed Aug 4 08:13:22 ACST 2004
|
||||
Australia/South 2004-02-03 22:43:22 UTC -> Wed Feb 4 09:13:22 ACDT 2004
|
||||
Australia/South 2005-08-03 22:43:22 UTC -> Thu Aug 4 08:13:22 ACST 2005
|
||||
Australia/South 2005-02-03 22:43:22 UTC -> Fri Feb 4 09:13:22 ACDT 2005
|
||||
Australia/South 2006-08-03 22:43:22 UTC -> Fri Aug 4 08:13:22 ACST 2006
|
||||
Australia/South 2006-02-03 22:43:22 UTC -> Sat Feb 4 09:13:22 ACDT 2006
|
||||
Australia/South 2007-08-03 22:43:22 UTC -> Sat Aug 4 08:13:22 ACST 2007
|
||||
Australia/South 2007-02-03 22:43:22 UTC -> Sun Feb 4 09:13:22 ACDT 2007
|
||||
Australia/Melbourne 2003-08-03 22:43:22 UTC -> Mon Aug 4 08:43:22 AEST 2003
|
||||
Australia/Melbourne 2003-02-03 22:43:22 UTC -> Tue Feb 4 09:43:22 AEDT 2003
|
||||
Australia/Melbourne 2004-08-03 22:43:22 UTC -> Wed Aug 4 08:43:22 AEST 2004
|
||||
Australia/Melbourne 2004-02-03 22:43:22 UTC -> Wed Feb 4 09:43:22 AEDT 2004
|
||||
Australia/Melbourne 2005-08-03 22:43:22 UTC -> Thu Aug 4 08:43:22 AEST 2005
|
||||
Australia/Melbourne 2005-02-03 22:43:22 UTC -> Fri Feb 4 09:43:22 AEDT 2005
|
||||
Australia/Melbourne 2006-08-03 22:43:22 UTC -> Fri Aug 4 08:43:22 AEST 2006
|
||||
Australia/Melbourne 2006-02-03 22:43:22 UTC -> Sat Feb 4 09:43:22 AEDT 2006
|
||||
Australia/Melbourne 2007-08-03 22:43:22 UTC -> Sat Aug 4 08:43:22 AEST 2007
|
||||
Australia/Melbourne 2007-02-03 22:43:22 UTC -> Sun Feb 4 09:43:22 AEDT 2007
|
||||
Australia/Sydney 2003-08-03 22:43:22 UTC -> Mon Aug 4 08:43:22 AEST 2003
|
||||
Australia/Sydney 2003-02-03 22:43:22 UTC -> Tue Feb 4 09:43:22 AEDT 2003
|
||||
Australia/Sydney 2004-08-03 22:43:22 UTC -> Wed Aug 4 08:43:22 AEST 2004
|
||||
Australia/Sydney 2004-02-03 22:43:22 UTC -> Wed Feb 4 09:43:22 AEDT 2004
|
||||
Australia/Sydney 2005-08-03 22:43:22 UTC -> Thu Aug 4 08:43:22 AEST 2005
|
||||
Australia/Sydney 2005-02-03 22:43:22 UTC -> Fri Feb 4 09:43:22 AEDT 2005
|
||||
Australia/Sydney 2006-08-03 22:43:22 UTC -> Fri Aug 4 08:43:22 AEST 2006
|
||||
Australia/Sydney 2006-02-03 22:43:22 UTC -> Sat Feb 4 09:43:22 AEDT 2006
|
||||
Australia/Sydney 2007-08-03 22:43:22 UTC -> Sat Aug 4 08:43:22 AEST 2007
|
||||
Australia/Sydney 2007-02-03 22:43:22 UTC -> Sun Feb 4 09:43:22 AEDT 2007
|
||||
Australia/North 2003-08-03 22:43:22 UTC -> Mon Aug 4 08:13:22 ACST 2003
|
||||
Australia/North 2003-02-03 22:43:22 UTC -> Tue Feb 4 08:13:22 ACST 2003
|
||||
Australia/North 2004-08-03 22:43:22 UTC -> Wed Aug 4 08:13:22 ACST 2004
|
||||
Australia/North 2004-02-03 22:43:22 UTC -> Wed Feb 4 08:13:22 ACST 2004
|
||||
Australia/North 2005-08-03 22:43:22 UTC -> Thu Aug 4 08:13:22 ACST 2005
|
||||
Australia/North 2005-02-03 22:43:22 UTC -> Fri Feb 4 08:13:22 ACST 2005
|
||||
Australia/North 2006-08-03 22:43:22 UTC -> Fri Aug 4 08:13:22 ACST 2006
|
||||
Australia/North 2006-02-03 22:43:22 UTC -> Sat Feb 4 08:13:22 ACST 2006
|
||||
Australia/North 2007-08-03 22:43:22 UTC -> Sat Aug 4 08:13:22 ACST 2007
|
||||
Australia/North 2007-02-03 22:43:22 UTC -> Sun Feb 4 08:13:22 ACST 2007
|
||||
Asia/Tokyo 2003-08-03 22:43:22 UTC -> Mon Aug 4 07:43:22 JST 2003
|
||||
Asia/Tokyo 2003-02-03 22:43:22 UTC -> Tue Feb 4 07:43:22 JST 2003
|
||||
Asia/Tokyo 2004-08-03 22:43:22 UTC -> Wed Aug 4 07:43:22 JST 2004
|
||||
Asia/Tokyo 2004-02-03 22:43:22 UTC -> Wed Feb 4 07:43:22 JST 2004
|
||||
Asia/Tokyo 2005-08-03 22:43:22 UTC -> Thu Aug 4 07:43:22 JST 2005
|
||||
Asia/Tokyo 2005-02-03 22:43:22 UTC -> Fri Feb 4 07:43:22 JST 2005
|
||||
Asia/Tokyo 2006-08-03 22:43:22 UTC -> Fri Aug 4 07:43:22 JST 2006
|
||||
Asia/Tokyo 2006-02-03 22:43:22 UTC -> Sat Feb 4 07:43:22 JST 2006
|
||||
Asia/Tokyo 2007-08-03 22:43:22 UTC -> Sat Aug 4 07:43:22 JST 2007
|
||||
Asia/Tokyo 2007-02-03 22:43:22 UTC -> Sun Feb 4 07:43:22 JST 2007
|
||||
Asia/Istanbul 2003-08-03 22:43:22 UTC -> Mon Aug 4 01:43:22 EEST 2003
|
||||
Asia/Istanbul 2003-02-03 22:43:22 UTC -> Tue Feb 4 00:43:22 EET 2003
|
||||
Asia/Istanbul 2004-08-03 22:43:22 UTC -> Wed Aug 4 01:43:22 EEST 2004
|
||||
Asia/Istanbul 2004-02-03 22:43:22 UTC -> Wed Feb 4 00:43:22 EET 2004
|
||||
Asia/Istanbul 2005-08-03 22:43:22 UTC -> Thu Aug 4 01:43:22 EEST 2005
|
||||
Asia/Istanbul 2005-02-03 22:43:22 UTC -> Fri Feb 4 00:43:22 EET 2005
|
||||
Asia/Istanbul 2006-08-03 22:43:22 UTC -> Fri Aug 4 01:43:22 EEST 2006
|
||||
Asia/Istanbul 2006-02-03 22:43:22 UTC -> Sat Feb 4 00:43:22 EET 2006
|
||||
Asia/Istanbul 2007-08-03 22:43:22 UTC -> Sat Aug 4 01:43:22 EEST 2007
|
||||
Asia/Istanbul 2007-02-03 22:43:22 UTC -> Sun Feb 4 00:43:22 EET 2007
|
||||
Asia/Vladivostok 2003-08-03 22:43:22 UTC -> Mon Aug 4 09:43:22 +11 2003
|
||||
Asia/Vladivostok 2003-02-03 22:43:22 UTC -> Tue Feb 4 08:43:22 +10 2003
|
||||
Asia/Vladivostok 2004-08-03 22:43:22 UTC -> Wed Aug 4 09:43:22 +11 2004
|
||||
Asia/Vladivostok 2004-02-03 22:43:22 UTC -> Wed Feb 4 08:43:22 +10 2004
|
||||
Asia/Vladivostok 2005-08-03 22:43:22 UTC -> Thu Aug 4 09:43:22 +11 2005
|
||||
Asia/Vladivostok 2005-02-03 22:43:22 UTC -> Fri Feb 4 08:43:22 +10 2005
|
||||
Asia/Vladivostok 2006-08-03 22:43:22 UTC -> Fri Aug 4 09:43:22 +11 2006
|
||||
Asia/Vladivostok 2006-02-03 22:43:22 UTC -> Sat Feb 4 08:43:22 +10 2006
|
||||
Asia/Vladivostok 2007-08-03 22:43:22 UTC -> Sat Aug 4 09:43:22 +11 2007
|
||||
Asia/Vladivostok 2007-02-03 22:43:22 UTC -> Sun Feb 4 08:43:22 +10 2007
|
||||
Asia/Bangkok 2003-08-03 22:43:22 UTC -> Mon Aug 4 05:43:22 +07 2003
|
||||
Asia/Bangkok 2003-02-03 22:43:22 UTC -> Tue Feb 4 05:43:22 +07 2003
|
||||
Asia/Bangkok 2004-08-03 22:43:22 UTC -> Wed Aug 4 05:43:22 +07 2004
|
||||
Asia/Bangkok 2004-02-03 22:43:22 UTC -> Wed Feb 4 05:43:22 +07 2004
|
||||
Asia/Bangkok 2005-08-03 22:43:22 UTC -> Thu Aug 4 05:43:22 +07 2005
|
||||
Asia/Bangkok 2005-02-03 22:43:22 UTC -> Fri Feb 4 05:43:22 +07 2005
|
||||
Asia/Bangkok 2006-08-03 22:43:22 UTC -> Fri Aug 4 05:43:22 +07 2006
|
||||
Asia/Bangkok 2006-02-03 22:43:22 UTC -> Sat Feb 4 05:43:22 +07 2006
|
||||
Asia/Bangkok 2007-08-03 22:43:22 UTC -> Sat Aug 4 05:43:22 +07 2007
|
||||
Asia/Bangkok 2007-02-03 22:43:22 UTC -> Sun Feb 4 05:43:22 +07 2007
|
28
tests/sanity/runtest.sh
Normal file
28
tests/sanity/runtest.sh
Normal file
@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# runtest.sh of /CoreOS/tzdata/sanity
|
||||
# Description: Basic sanity test
|
||||
# Author: John Poelstra <poelstra@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2006 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
rhts-run-simple-test $TEST ./tzdata-test.sh
|
32
tests/sanity/timezones.txt
Normal file
32
tests/sanity/timezones.txt
Normal file
@ -0,0 +1,32 @@
|
||||
Europe/Berlin
|
||||
Europe/Paris
|
||||
Europe/London
|
||||
Europe/Prague
|
||||
US/Alaska
|
||||
US/Aleutian
|
||||
US/Arizona
|
||||
US/Central
|
||||
US/Eastern
|
||||
US/East-Indiana
|
||||
US/Hawaii
|
||||
US/Indiana-Starke
|
||||
US/Michigan
|
||||
US/Mountain
|
||||
US/Pacific
|
||||
US/Samoa
|
||||
America/Bahia
|
||||
America/Bogota
|
||||
America/Costa_Rica
|
||||
America/Jamaica
|
||||
America/Mexico_City
|
||||
America/Santiago
|
||||
Australia/Brisbane
|
||||
Australia/West
|
||||
Australia/South
|
||||
Australia/Melbourne
|
||||
Australia/Sydney
|
||||
Australia/North
|
||||
Asia/Tokyo
|
||||
Asia/Istanbul
|
||||
Asia/Vladivostok
|
||||
Asia/Bangkok
|
50
tests/sanity/tzdata-test.sh
Executable file
50
tests/sanity/tzdata-test.sh
Executable file
@ -0,0 +1,50 @@
|
||||
#!/bin/bash
|
||||
# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# tzdata-test.sh of /CoreOS/tzdata/sanity
|
||||
# Description: Basic sanity test
|
||||
# Original author: Ulrich Drepper <drepper@redhat.com>
|
||||
# Modified and broken into separate files by: John Poelstra <poelstra@redhat.com>
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
#
|
||||
# Copyright (c) 2006 Red Hat, Inc.
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or
|
||||
# modify it under the terms of the GNU General Public License as
|
||||
# published by the Free Software Foundation, either version 2 of
|
||||
# the License, or (at your option) any later version.
|
||||
#
|
||||
# This program is distributed in the hope that it will be
|
||||
# useful, but WITHOUT ANY WARRANTY; without even the implied
|
||||
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
||||
# PURPOSE. See the GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see http://www.gnu.org/licenses/.
|
||||
#
|
||||
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
ZONES="timezones.txt"
|
||||
DATES="dates.txt"
|
||||
EXPECTED="expected.results"
|
||||
GENERATED="$(mktemp)"
|
||||
|
||||
cat $ZONES | while read timezone; do
|
||||
echo "timezone == $timezone" | tee -a $OUTPUTFILE
|
||||
cat $DATES | while read datetime; do
|
||||
echo "datetime == $datetime" | tee -a $OUTPUTFILE
|
||||
printf "%s %s -> %s\n" "$timezone" "$datetime" "$(env TZ=$timezone date -d \
|
||||
"$datetime")" | tee -a $OUTPUTFILE | tee -a $GENERATED
|
||||
done
|
||||
done
|
||||
|
||||
if diff -u $EXPECTED $GENERATED
|
||||
then
|
||||
echo "Test PASSED" | tee -a $OUTPUTFILE
|
||||
else
|
||||
echo "Test FAILED" | tee -a $OUTPUTFILE
|
||||
2>&1 | tee -a $OUTPUTFILE
|
||||
exit 1
|
||||
fi
|
13
tests/tests.yml
Normal file
13
tests/tests.yml
Normal file
@ -0,0 +1,13 @@
|
||||
---
|
||||
# Tests for classic and container
|
||||
- hosts: localhost
|
||||
roles:
|
||||
- role: standard-test-beakerlib
|
||||
tags:
|
||||
- classic
|
||||
- container
|
||||
- atomic
|
||||
tests:
|
||||
- sanity
|
||||
required_packages:
|
||||
- which
|
1224
tzdata.spec
Normal file
1224
tzdata.spec
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user