diff options
author | Yann Droneaud | 2010-03-31 16:48:39 +0200 |
---|---|---|
committer | Karel Zak | 2010-03-31 17:02:28 +0200 |
commit | 08b825dbea0b6e918ef9ba7db8d7d56b02022772 (patch) | |
tree | c5530184b53ebcabaaebceb445c0b8b2e6d9e511 /tests/functions.sh | |
parent | partx: fix infinite loop (diff) | |
download | kernel-qcow2-util-linux-08b825dbea0b6e918ef9ba7db8d7d56b02022772.tar.gz kernel-qcow2-util-linux-08b825dbea0b6e918ef9ba7db8d7d56b02022772.tar.xz kernel-qcow2-util-linux-08b825dbea0b6e918ef9ba7db8d7d56b02022772.zip |
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 <yann@droneaud.fr>
Diffstat (limited to 'tests/functions.sh')
-rw-r--r-- | tests/functions.sh | 7 |
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)" |