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: upstream/1.6.20^2~11 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=4cb47a58cfe4883c1a1dc6b9553b656434365efc;p=packages%2Fo%2Fopenafs.git 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 Reviewed-by: Benjamin Kaduk (cherry picked from commit e17cd5df703b8a924591f92c76636dd9e0d9eaf9) Change-Id: I392bfb2bb3d2bbf8ff73a87650ca0d7e1268b356 Reviewed-on: https://gerrit.openafs.org/12415 Tested-by: BuildBot Reviewed-by: Stephan Wiesand --- diff --git a/tests/util/ktime-t.c b/tests/util/ktime-t.c index d9793bbef..d35649a61 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;