summaryrefslogtreecommitdiff
path: root/tests/libtest-core.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libtest-core.sh')
-rw-r--r--tests/libtest-core.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libtest-core.sh b/tests/libtest-core.sh
index ce0e4bb1..2144e1ac 100644
--- a/tests/libtest-core.sh
+++ b/tests/libtest-core.sh
@@ -37,6 +37,8 @@ assert_not_reached () {
# (https://sourceware.org/glibc/wiki/Proposals/C.UTF-8)
if locale -a | grep C.UTF-8 >/dev/null; then
export LC_ALL=C.UTF-8
+elif locale -a | grep C.utf8 >/dev/null; then
+ export LC_ALL=C.utf8
else
export LC_ALL=C
fi