Commit 90c08ed1 authored by Andrew Dunstan's avatar Andrew Dunstan

Check that we have a working tar before trying to use it

Issue exposed by commit edc2332550 and the buildfarm.

Backpatch to release 14 where this usage started.
parent f2e1730e
...@@ -268,7 +268,8 @@ SKIP: ...@@ -268,7 +268,8 @@ SKIP:
{ {
my $tar = $ENV{TAR}; my $tar = $ENV{TAR};
skip "no tar program available", 1 skip "no tar program available", 1
if (!defined $tar || $tar eq ''); if (!defined $tar || $tar eq ''
|| system_log($tar, '--version') != 0);
my $node2 = get_new_node('replica'); my $node2 = get_new_node('replica');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment