summaryrefslogtreecommitdiff
path: root/selftest/selftest.pl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2019-02-27 08:22:09 +0100
committerKarolin Seeger <kseeger@samba.org>2019-04-02 09:10:51 +0000
commit18f4167198a666876dace140c33bb19f3eeacb9e (patch)
tree764b6e57cccc78159fcf5b813a0ca5450145c0f9 /selftest/selftest.pl
parent2d4820f0a8eb480f02576bed167da230f0e3824a (diff)
downloadsamba-18f4167198a666876dace140c33bb19f3eeacb9e.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)
Diffstat (limited to 'selftest/selftest.pl')
-rwxr-xr-xselftest/selftest.pl3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/selftest.pl b/selftest/selftest.pl
index 3ee266c4d0a..45eb51fa3c1 100755
--- a/selftest/selftest.pl
+++ b/selftest/selftest.pl
@@ -301,6 +301,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: