From: Martin Mares Date: Mon, 11 Feb 2019 11:35:15 +0000 (+0100) Subject: Tests: xtypes-test sets an explicit timezone X-Git-Tag: v6.5.10~2 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=bebc1e969611fa34e30192d3a304cb48d273cd7b;p=libucw.git Tests: xtypes-test sets an explicit timezone Its output, which is checked in xtypes-test.t, depends on the current TZ. --- diff --git a/ucw/xtypes-test.c b/ucw/xtypes-test.c index a0f4acbf..b8cbe32a 100644 --- a/ucw/xtypes-test.c +++ b/ucw/xtypes-test.c @@ -202,6 +202,7 @@ static void test_timestamp_parse_errors(struct fastbuf *out) int main(void) { + setenv("TZ", "Europe/Prague", 1); struct fastbuf *out; out = bfdopen_shared(1, 4096);