]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Fix make check with "funny" locales (#420)
authorLuboš Luňák <l.lunak@centrum.cz>
Sat, 11 May 2019 14:38:33 +0000 (16:38 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Thu, 18 Jul 2019 20:05:49 +0000 (22:05 +0200)
'ch' in cs_CZ locale is technically just one character, so directory
name 'ccache' fails the test

test/run

index b4a96b471894cf736492227a50bcfd470442a304..f81040932faa5b5d6a98c9a201f630ccd140858f 100755 (executable)
--- a/test/run
+++ b/test/run
@@ -273,6 +273,8 @@ EOF
 # =============================================================================
 # main program
 
+export LC_ALL=C
+
 if pwd | grep '[^A-Za-z0-9/.,=_%+-]' >/dev/null 2>&1; then
     cat <<EOF
 Error: The test suite doesn't work in directories with whitespace or other