summaryrefslogtreecommitdiff
path: root/tests/ls-2/quoting
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ls-2/quoting')
-rwxr-xr-xtests/ls-2/quoting6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/ls-2/quoting b/tests/ls-2/quoting
index 89557a1c8..cba514c84 100755
--- a/tests/ls-2/quoting
+++ b/tests/ls-2/quoting
@@ -4,10 +4,8 @@ use strict;
(my $program_name = $0) =~ s|.*/||;
-# Make sure the tools use the expected locale.
-$ENV{LANGUAGE} = 'C';
-$ENV{LC_ALL} = 'C';
-$ENV{LANG} = 'C';
+# Turn off localisation of executable's ouput.
+@ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3;
my $q_bell = {IN => {"q\a" => ''}};
my @Tests =