From e17cd5df703b8a924591f92c76636dd9e0d9eaf9 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Sun, 9 Oct 2016 06:39:12 -0400 Subject: [PATCH] tests/util/ktime-t.c: Specify EST offset in TZ MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/util/ktime-t.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 1.9.4