diff options
author | Andrew Dunstan <andrew@dunslane.net> | 2022-01-24 14:03:46 -0500 |
---|---|---|
committer | Andrew Dunstan <andrew@dunslane.net> | 2022-01-24 14:11:25 -0500 |
commit | 4f0bcc735038e96404fae59aa16ef9beaf6bb0aa (patch) | |
tree | a7a1733dcc28ffd4bd647ae88a0c1a519b882c55 | |
parent | 3c06ec6d1412a6ebf05ee0566b5c05969f0b541f (diff) | |
download | postgresql-4f0bcc735038e96404fae59aa16ef9beaf6bb0aa.tar.gz postgresql-4f0bcc735038e96404fae59aa16ef9beaf6bb0aa.zip |
Unbreak pg_basebackup/t/010_pg_basebackup.pl on msys
Once again we ran foul of the rather baroque msys2 path translation
rules. The cure as in many cases is to do the translation ourselves.
Discussion: https://postgr.es/m/CA+TgmoZU+1yj8TZ8PZrPHxPmr6Wz84V2RfZnsd5HnZugYtqZng@mail.gmail.com
-rw-r--r-- | src/bin/pg_basebackup/t/010_pg_basebackup.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/t/010_pg_basebackup.pl b/src/bin/pg_basebackup/t/010_pg_basebackup.pl index 95a6bd6778f..a827be5e592 100644 --- a/src/bin/pg_basebackup/t/010_pg_basebackup.pl +++ b/src/bin/pg_basebackup/t/010_pg_basebackup.pl @@ -516,7 +516,7 @@ $node->command_ok( [ @pg_basebackup_defs, '--target', 'blackhole', '-X', 'none' ], 'backup target blackhole'); $node->command_ok( - [ @pg_basebackup_defs, '--target', "server:$tempdir/backuponserver", '-X', 'none' ], + [ @pg_basebackup_defs, '--target', "server:$real_tempdir/backuponserver", '-X', 'none' ], 'backup target server'); ok(-f "$tempdir/backuponserver/base.tar", 'backup tar was created'); rmtree("$tempdir/backuponserver"); |