summaryrefslogtreecommitdiff
path: root/tests/misc/ls-misc
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-04-03 21:34:57 +0200
committerJim Meyering <meyering@redhat.com>2012-04-04 12:22:24 +0200
commitb1e9cb9cd2945832b914922fa43808d6f467ba19 (patch)
tree30638ff9760d11dc100c01a091de0e63c4137d27 /tests/misc/ls-misc
parente43d30eab3215bc9ff49ec7db3d3e2baa95ba070 (diff)
downloadcoreutils-b1e9cb9cd2945832b914922fa43808d6f467ba19.tar.xz
tests: use perl's qx!...! rather than `...`
* tests/misc/expr: As above. * tests/misc/ls-misc: Likewise. * tests/misc/pwd-long: Likewise. * tests/misc/uniq: Likewise.
Diffstat (limited to 'tests/misc/ls-misc')
-rwxr-xr-xtests/misc/ls-misc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/ls-misc b/tests/misc/ls-misc
index 14e117672..71647f9d6 100755
--- a/tests/misc/ls-misc
+++ b/tests/misc/ls-misc
@@ -331,7 +331,7 @@ $fail
and exit 1;
# Be careful to use the just-build dircolors.
-my $env = `$ENV{abs_top_builddir}/src/dircolors -b`;
+my $env = qx/dircolors -b/;
$env =~ s/^LS_COLORS=\'//;
$env =~ s/\';.*//sm;
$ENV{LS_COLORS} = $env;