From 168a6b6a0fde18e7e1445f189da3994edf3f2aa6 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 3 Mar 2010 20:55:27 +0100 Subject: 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. --- tests/envvar-check | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/envvar-check') 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 -- cgit v1.2.3-70-g09d2