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.

Change-Id: Ida8cb33687b5d87761cb0422e446afd99246d47a
Reviewed-on: https://gerrit.openafs.org/12414
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
This commit is contained in:
Anders Kaseorg 2016-10-09 06:39:12 -04:00 committed by Benjamin Kaduk
parent 1cd86de291
commit e17cd5df70

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;