tests: fix locale issue on non-Debian linux
authorLucas Bajolet <lucas.bajolet@gmail.com>
Thu, 29 Mar 2018 19:53:46 +0000 (15:53 -0400)
committerLucas Bajolet <lucas.bajolet@gmail.com>
Fri, 30 Mar 2018 15:00:51 +0000 (11:00 -0400)
commit732035c57ff83f17f6bf66d79fcfa9b127878a16
tree37d230ebe115241b398ca682a93b6c18a91477a3
parent1bbfcd50ebb19cba511b55922f0b585f9a0b0582
tests: fix locale issue on non-Debian linux

The C.UTF-8 locale is Debian-specific and causes issues on other
platforms.

To avoid setlocale error messages, the LC_ALL export will default on
C.UTF-8, the system utf-8 locale if unavailable, and on C if no better
choice is available.

Signed-off-by: Lucas Bajolet <lucas.bajolet@gmail.com>
tests/tests.sh