summaryrefslogtreecommitdiff
path: root/cpan
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2016-11-05 18:58:51 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2016-11-05 19:04:10 -0400
commitef77c312fc9d05923d4e2e14d85c8120ee33e38b (patch)
tree9ff34f3047978c37be5b79b2f1501072c1ea9f98 /cpan
parentaa3ecafd01033b5ee5566f754a882d417a39e0ad (diff)
downloadperl-ef77c312fc9d05923d4e2e14d85c8120ee33e38b.tar.gz
Capture also the stderr, the message from tar might go there
Follow-up to 202b0c8a3ba3de0efe5cb730b242b8c0502e1add
Diffstat (limited to 'cpan')
-rw-r--r--cpan/Archive-Tar/t/09_roundtrip.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpan/Archive-Tar/t/09_roundtrip.t b/cpan/Archive-Tar/t/09_roundtrip.t
index e02a6eed72..eb13d455f6 100644
--- a/cpan/Archive-Tar/t/09_roundtrip.t
+++ b/cpan/Archive-Tar/t/09_roundtrip.t
@@ -149,7 +149,7 @@ SKIP: {
for my $tar_try (@TRY_TAR) {
if (can_run($tar_try)) {
print "# Found tar executable '$tar_try'\n";
- my $tar_help = qx{$tar_try --help};
+ my $tar_help = qx{$tar_try --help 2>&1};
$can_tar_gzip = can_tar_gzip($tar_help);
$can_tar_bzip2 = can_tar_bzip2($tar_help);
printf "# can_tar_gzip = %d\n", $can_tar_gzip;