1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-07-17 07:22:20 +02:00

Merge branch 'REL_2_5' into REL_2_5-PBCKP-304

This commit is contained in:
Yura Sokolov
2022-11-16 16:12:10 +03:00
20 changed files with 106 additions and 72 deletions

View File

@ -273,10 +273,7 @@ class ProbackupTest(object):
self.user = self.get_username()
self.probackup_path = None
if 'PGPROBACKUPBIN' in self.test_env:
if (
os.path.isfile(self.test_env["PGPROBACKUPBIN"]) and
os.access(self.test_env["PGPROBACKUPBIN"], os.X_OK)
):
if shutil.which(self.test_env["PGPROBACKUPBIN"]):
self.probackup_path = self.test_env["PGPROBACKUPBIN"]
else:
if self.verbose: