glibc/timezone
Joseph Myers bd6193907a Fix tst-timezone race (bug 14096).
I observed a failure of timezone/tst-timezone with the same symptoms
as reported in bug 14096.

I was unable to reproduce the failure on testing again.  However, from
inspection, the cause is as follows.  tst-timezone uses time zones
compiled from the northamerica file, but has no dependency on any such
zones, so with a parallel build it is possible that they do not get
compiled until after tst-timezone is run.  This patch adds a
dependency on the compiled America/New_York zone (the one used as a
makefile target to cause such zones to be compiled, rather than one
which is actually used in that test) to fix the race.

Tested for x86_64.

	[BZ #14096]
	* timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
	America/New_York.
2017-06-07 17:14:28 +00:00
..
testdata Make time zone file parser more robust [BZ #17715] 2015-04-24 17:34:48 +02:00
africa Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
antarctica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
asia Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
australasia Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
backward Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
etcetera Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
europe Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
factory Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
iso3166.tab Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
leapseconds Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
Makefile Fix tst-timezone race (bug 14096). 2017-06-07 17:14:28 +00:00
northamerica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
pacificnew Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
private.h Update timezone code from tzcode 2015g. 2016-01-07 11:45:07 +00:00
README Remove mention of checktab.awk in timezone/README. 2016-03-14 14:11:51 -04:00
simplebackw Update. 1998-02-15 23:23:43 +00:00
solar87 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
solar88 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
solar89 Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
southamerica Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
systemv Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
test-tz.c 2006-01-10 Roland McGrath <roland@redhat.com> 2006-01-10 20:37:36 +00:00
tst-timezone.c Add missing header files throughout the testsuite. 2017-02-16 17:33:18 -05:00
tst-tzset.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
tzfile.h Update timezone code from tzcode 2015g. 2016-01-07 11:45:07 +00:00
tzselect.ksh Update timezone code from tzcode 2015g. 2016-01-07 11:45:07 +00:00
yearistype Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00
zdump.c Update timezone code from tzcode 2015g. 2016-01-07 11:45:07 +00:00
zic.c Update timezone code from tzcode 2015g. 2016-01-07 11:45:07 +00:00
zone.tab Update timezone data from tzdata2009i. 2009-06-15 08:39:40 -07:00

The files
	zic.c zdump.c tzfile.h private.h tzselect.ksh
come from the tzcode package by Arthur David Olson et.al.

The files
	africa antarctica asia australasia europe
	northamerica southamerica pacificnew etcetera factory
	backward systemv solar87 solar88 solar89
	iso3166.tab zone.tab leapseconds yearistype
come from the tzdata package by Arthur David Olson et.al.

Please check the ChangeLog files in the top level directory for the
version of the tzcode and tzdata packages.

Please also see: https://sourceware.org/glibc/wiki/SharedSourceFiles

These packages may be found at ftp://ftp.iana.org/tz/releases/.  Commentary
should be addressed to tz@iana.org.

The subdirectory testdata contains manually edited data files for
regression testing purposes.