test: use C.UTF-8 locale in tests

The en_US.UTF-8 locale is not guaranteed to exist, and if it doesn't,
several tests fail.

Signed-off-by: Paul Wise <pabs3@bonedaddy.net>
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
Paul Wise
2014-05-29 12:46:20 +08:00
committed by Felipe Contreras
parent b4c63539f2
commit f53a8653ab

View File

@@ -470,7 +470,7 @@ rm -rf hgrepo
test_expect_success 'fetch special filenames' '
test_when_finished "rm -rf hgrepo gitrepo && LC_ALL=C" &&
LC_ALL=en_US.UTF-8
LC_ALL=C.UTF-8
export LC_ALL
(
@@ -503,7 +503,7 @@ test_expect_success 'push special filenames' '
mkdir -p tmp && cd tmp &&
LC_ALL=en_US.UTF-8
LC_ALL=C.UTF-8
export LC_ALL
(