summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-09 15:29:59 +0200
committerJim Meyering <meyering@redhat.com>2009-04-09 15:29:59 +0200
commit0df3a91b25183ea9be3cad7d899242073460e3aa (patch)
treeb17e92a0e4b0a25716ac4d25899e1ab97a5782c4 /tests
parentbf87a2c8ea4487ca4448c9fe42a9c9858400acbd (diff)
downloadcoreutils-0df3a91b25183ea9be3cad7d899242073460e3aa.tar.xz
tests: misc/ls-misc: avoid shadowing local decl of $e
* tests/misc/ls-misc (make_j_d): Rename latter $e to $env
Diffstat (limited to 'tests')
-rwxr-xr-xtests/misc/ls-misc8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/misc/ls-misc b/tests/misc/ls-misc
index 93d5b914d..30eb06cb0 100755
--- a/tests/misc/ls-misc
+++ b/tests/misc/ls-misc
@@ -240,10 +240,10 @@ $fail
and exit 1;
# Be careful to use the just-build dircolors.
-my $e = `$ENV{abs_top_builddir}/src/dircolors -b`;
-$e =~ s/^LS_COLORS=\'//;
-$e =~ s/\';.*//sm;
-$ENV{LS_COLORS} = $e;
+my $env = `$ENV{abs_top_builddir}/src/dircolors -b`;
+$env =~ s/^LS_COLORS=\'//;
+$env =~ s/\';.*//sm;
+$ENV{LS_COLORS} = $env;
setuid_setup;
$fail = run_tests ($program_name, $prog, \@Tests, $save_temps, $verbose);