pgsql: Fix new recovery test for use under msys

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix new recovery test for use under msys
Date: 2021-06-12 12:56:29
Message-ID: E1ls3Bd-0006QH-6c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix new recovery test for use under msys

Commit caba8f0d43 wasn't quite right for msys, as demonstrated by
several buildfarm animals, including jacana and fairywren. We need to
use the msys perl in the archive command, but call it in such a way that
Windows will understand the path. Furthermore, inside the copy script we
need to convert a Windows path to an msys path.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1730a3334e4a791b88cfc39bd45bee5a0d7b817c

Modified Files
--------------
src/test/recovery/t/025_stuck_on_old_timeline.pl | 14 +++++++++++---
src/test/recovery/t/cp_history_files | 7 +++++++
2 files changed, 18 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-06-12 16:59:33 pgsql: Don't use Asserts to check for violations of replication protoco
Previous Message Andrew Dunstan 2021-06-12 12:44:15 pgsql: Fix new recovery test for use under msys