pgsql: Fix ssl tests for when tls-server-end-point is not supported

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix ssl tests for when tls-server-end-point is not supported
Date: 2018-01-09 17:32:39
Message-ID: E1eYxlP-0005Ib-HW@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix ssl tests for when tls-server-end-point is not supported

Add a function to TestLib that allows us to check pg_config.h and then
decide the expected test outcome based on that.

Author: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>

Branch
------
master

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

Modified Files
--------------
src/test/perl/TestLib.pm | 19 +++++++++++++++++++
src/test/ssl/t/002_scram.pl | 21 +++++++++++++++++----
2 files changed, 36 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2018-01-09 17:35:11 pgsql: While waiting for a condition variable, detect postmaster death.
Previous Message Tom Lane 2018-01-09 17:09:40 pgsql: Fix race condition during replication origin drop.