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

Andrew Dunstan <andrew@dunslane.net>

Commit: f920f7e799c587228227ec94356c760e3f3d5f2b
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-12-08T15:24:07Z
Releases: 15.0
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.

Files

PathChange+/−
src/bin/pg_basebackup/t/010_pg_basebackup.pl modified +2 −1