From: Anders Kaseorg Date: Sun, 9 Oct 2016 10:39:12 +0000 (-0400) Subject: tests/util/ktime-t.c: Specify EST offset in TZ X-Git-Tag: openafs-stable-1_8_0pre1~38 X-Git-Url: http://git.openafs.org/?p=openafs.git;a=commitdiff_plain;h=e17cd5df703b8a924591f92c76636dd9e0d9eaf9 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 Reviewed-by: Benjamin Kaduk --- diff --git a/tests/util/ktime-t.c b/tests/util/ktime-t.c index 9609fbb..484ba3a 100644 --- a/tests/util/ktime-t.c +++ b/tests/util/ktime-t.c @@ -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;