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
antarctica
asia
australasia
backward
etcetera
europe
factory
iso3166.tab
leapseconds
Makefile Fix tst-timezone race (bug 14096). 2017-06-07 17:14:28 +00:00
northamerica
pacificnew
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
solar87
solar88
solar89
southamerica
systemv
test-tz.c
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
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

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.