summaryrefslogtreecommitdiff
path: root/tests/envvar-check
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2010-03-03 20:55:27 +0100
committerJim Meyering <meyering@redhat.com>2010-03-04 10:46:11 +0100
commit168a6b6a0fde18e7e1445f189da3994edf3f2aa6 (patch)
tree4601502eaa6c78e4fe2e38702d1f25db32d0869a /tests/envvar-check
parent59e2e55d0f154a388adc9bac37d2b45f2ba971f8 (diff)
downloadcoreutils-168a6b6a0fde18e7e1445f189da3994edf3f2aa6.tar.xz
tests: don't let the LANGUAGE envvar perturb tests
* tests/envvar-check (vars): Add LANGUAGE to the list of envvars to unset. At least in glibc (as an extension to POSIX), its value actually trumps LC_ALL: $ LC_ALL=es_ES LANGUAGE=fr_FR.UTF-8 /bin/cat no-such /bin/cat: no-such: Aucun fichier ou dossier de ce type but only when the default locale is not C: $ LC_ALL=C LANGUAGE=fr_FR.UTF-8 /bin/cat no-such /bin/cat: no-such: No such file or directory Prompted by a report from Mads Kiilerich.
Diffstat (limited to 'tests/envvar-check')
-rw-r--r--tests/envvar-check1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/envvar-check b/tests/envvar-check
index 65fda9b04..e31b94164 100644
--- a/tests/envvar-check
+++ b/tests/envvar-check
@@ -31,6 +31,7 @@ vars='
COLUMNS
DF_BLOCK_SIZE
DU_BLOCK_SIZE
+ LANGUAGE
LS_BLOCK_SIZE
LS_COLORS
POSIXLY_CORRECT