tests/util/ktime-t.c: Specify EST offset in TZ

This fixes test failures observed on new Debian build servers that no
longer install tzdata by default.  As the tests expect, EST is defined
as UTC−05:00 with no daylight saving time.

Reviewed-on: https://gerrit.openafs.org/12414
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
(cherry picked from commit e17cd5df70)

Change-Id: I392bfb2bb3d2bbf8ff73a87650ca0d7e1268b356
Reviewed-on: https://gerrit.openafs.org/12415
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Stephan Wiesand <stephan.wiesand@desy.de>
This commit is contained in:
Anders Kaseorg 2016-10-09 06:39:12 -04:00 committed by Stephan Wiesand
parent 4e35caf464
commit 4cb47a58cf

View File

@ -73,7 +73,7 @@ main(void)
/* should do timezone and daylight savings time correction so this program
* work in other than EST */
putenv("TZ=EST");
putenv("TZ=EST+5");
for (tt = testTimes; tt->time; tt++) {
temp = 0;