pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix certificate paths to use perl2host
Date: Wed, 01 Dec 2021 14:01:44 +0000
Message-ID: <E1msQB6-00060a-Na@gemulon.postgresql.org> (raw)

Fix certificate paths to use perl2host

Commit c113d8ad50 moved the copying of certificates into a temporary path
for the duration of the tests, instead of using the source tree. This broke
the tests on msys as the absolute path wasn't adapted for the msys platform.
Ensure to convert the path with perl2host before copying and passing in the
connection string.

While there also make certificate copying error handling uniform across all
the test suites.

Discussion: https://postgr.es/m/YacT3tm97xziSUFw@paquier.xyz

Branch
------
master

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

Modified Files
--------------
src/test/ssl/t/001_ssltests.pl | 21 ++++++++++++---------
src/test/ssl/t/002_scram.pl    | 10 +++++++---
src/test/ssl/t/003_sslinfo.pl  | 12 +++++++-----
3 files changed, 26 insertions(+), 17 deletions(-)



Message-ID: <E1msQB6-00060a-Na@gemulon.postgresql.org>
Permalink:  ../E1msQB6-00060a-Na@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1msQB6-00060a-Na@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org
  Subject: Re: pgsql: Fix certificate paths to use perl2host
  In-Reply-To: <E1msQB6-00060a-Na@gemulon.postgresql.org>
  References: <E1msQB6-00060a-Na@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox