pgsql: Fix new recovery test for use under msys

Lists: pgsql-committers
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
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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0cd8a55bda172c704d6a41db51bb255db78a3f9e

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(-)