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: [email protected]
Views: Whole Thread | Raw Message | 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
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dee7ad20d018354a75f26c73ba26b8487b98e642

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