summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2019-02-27 08:22:09 +0100
committerKarolin Seeger <kseeger@samba.org>2019-03-28 12:19:12 +0000
commit833d543717ca7f59270a384397dd5a15d3ab79ae (patch)
tree17fe248bddc00cc43c3100bb06194d14fdbb8c3a
parent6da5ef15ec104d87530ec4fe4765e98ee4288dfe (diff)
downloadsamba-833d543717ca7f59270a384397dd5a15d3ab79ae.tar.gz
selftest: force running with TZ=UTC
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Feb 27 11:24:59 UTC 2019 on sn-devel-144 (cherry picked from commit 4f307f2302b0fe8fd0fc6379eb8e6491faf8520c)
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 0e56e6a13ef..e35e67798ed 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -286,6 +286,9 @@ unless (defined($ENV{VALGRIND})) {
# make all our python scripts unbuffered
$ENV{PYTHONUNBUFFERED} = 1;
+# do not depend on the users setup
+$ENV{TZ} = "UTC";
+
my $bindir_abs = abs_path($bindir);
# Backwards compatibility: