summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index 9e66e432f..bf93ef63a 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -78,7 +78,12 @@ function ts_has_option {
function ts_init_env {
local mydir=$(ts_abspath $(dirname $0))
- export LANG="en_US.UTF-8"
+ LANG="POSIX"
+ LANGUAGE="POSIX"
+ LC_ALL="POSIX"
+ CHARSET="UTF-8"
+
+ export LANG LANGUAGE LC_ALL CHARSET
TS_TOPDIR=$(ts_abspath $mydir/../../)
TS_SCRIPT="$mydir/$(basename $0)"