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

Andrew Dunstan <andrew@dunslane.net>

Commit: 90c08ed11332b766769b2e5ba114fb7ecb34e401
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-12-08T15:23:48Z
Releases: 14.2
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