summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2006-09-28 22:07:42 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2006-09-28 22:07:42 +0000
commitf2d5658c08733d5adabcf88d0123414a3656d718 (patch)
tree7d2fda1731c89fae0da84d9f86fe8cdefa3b6807
parent0bc935e209ab6b2edefd27bad470be46b5cb8122 (diff)
downloadcoreutils-f2d5658c08733d5adabcf88d0123414a3656d718.tar.xz
* tests/rm/fail-eperm: Unset BASH_ENV, CDPATH, and ENV, too;
suggested for Debian stable, which uses Perl 5.8.4.
-rw-r--r--ChangeLog5
-rwxr-xr-xtests/rm/fail-eperm2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e5a353965..f9bb13465 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-09-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * tests/rm/fail-eperm: Unset BASH_ENV, CDPATH, and ENV, too;
+ suggested for Debian stable, which uses Perl 5.8.4.
+
2006-09-28 Jim Meyering <jim@meyering.net>
Automatically generated dependencies are important even
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);