summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@centrum.cz>2019-05-11 16:38:33 +0200
committerJoel Rosdahl <joel@rosdahl.net>2019-05-11 16:38:33 +0200
commit5ed02fd6c494d533ff812e08ede70cde0a6a0700 (patch)
treeef9addb7fbc8c7a4756bea8215132561deffd8e4
parent866372c96dd4d51a7aa278830d2372057749daa2 (diff)
downloadccache-5ed02fd6c494d533ff812e08ede70cde0a6a0700.tar.gz
Fix make check with "funny" locales (#420)
'ch' in cs_CZ locale is technically just one character, so directory name 'ccache' fails the test
-rwxr-xr-xtest/run2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run b/test/run
index b4a96b47..f8104093 100755
--- 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