From 08b825dbea0b6e918ef9ba7db8d7d56b02022772 Mon Sep 17 00:00:00 2001 From: Yann Droneaud Date: Wed, 31 Mar 2010 16:48:39 +0200 Subject: tests: use POSIX locale Since not everyone have en_US.UTF-8 locale, default to POSIX locale. This changes default sort order, so some expected results were updated. Signed-off-by: Yann Droneaud --- tests/functions.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/functions.sh') 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)" -- cgit v1.2.3-55-g7522