selftest: force LC_ALL=en_US.utf8 LANG=en_US.utf8
authorStefan Metzmacher <metze@samba.org>
Mon, 18 Nov 2019 21:02:13 +0000 (22:02 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 6 Feb 2020 14:57:41 +0000 (14:57 +0000)
That makes sure we have the same as on gitlab runners
(see bootstrap/config.py).

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
selftest/selftest.pl

index 087fcefc502df33b6609e18889d10bd5830978e4..ded3dc402dfa1adcb9f25544d547a3394a1a66b3 100755 (executable)
@@ -298,7 +298,9 @@ unless (defined($ENV{VALGRIND})) {
 $ENV{PYTHONUNBUFFERED} = 1;
 
 # do not depend on the users setup
+# see also bootstrap/config.py
 $ENV{TZ} = "UTC";
+$ENV{LC_ALL} = $ENV{LANG} = "en_US.utf8";
 
 my $bindir_abs = abs_path($bindir);