pgsql: Fix certificate paths to use perl2host

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix certificate paths to use perl2host
Date: 2021-12-01 14:01:44
Message-ID: E1msQB6-00060a-Na@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2021-12-01 14:16:09 Re: pgsql: Update high level vacuumlazy.c comments.
Previous Message Robert Haas 2021-12-01 13:58:01 pgsql: Document that tar archives are now properly terminated.