mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
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.
This commit is contained in:
parent
f2e1730ee9
commit
90c08ed113
1 changed files with 2 additions and 1 deletions
|
|
@ -268,7 +268,8 @@ SKIP:
|
|||
{
|
||||
my $tar = $ENV{TAR};
|
||||
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');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue