From f2d5658c08733d5adabcf88d0123414a3656d718 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Thu, 28 Sep 2006 22:07:42 +0000 Subject: * tests/rm/fail-eperm: Unset BASH_ENV, CDPATH, and ENV, too; suggested for Debian stable, which uses Perl 5.8.4. --- tests/rm/fail-eperm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/rm') diff --git a/tests/rm/fail-eperm b/tests/rm/fail-eperm index 0b5dca743..632ae1e92 100755 --- a/tests/rm/fail-eperm +++ b/tests/rm/fail-eperm @@ -55,7 +55,7 @@ my $verbose = $ENV{VERBOSE} && $ENV{VERBOSE} eq 'yes'; $ENV{LC_ALL} = 'C'; # Set up a safe, well-known environment -delete $ENV{PATH}; +delete @ENV{qw(BASH_ENV CDPATH ENV PATH)}; $ENV{IFS} = ''; my @dir_list = qw(/tmp /var/tmp /usr/tmp); -- cgit v1.2.3-70-g09d2