Thread: pgsql: Refactor routine to test connection to SSL server

pgsql: Refactor routine to test connection to SSL server

From
Peter Eisentraut
Date:
Refactor routine to test connection to SSL server

Move the sub-routines wrappers to check if a connection to a server is
fine or not into the test main module. This is useful for other tests
willing to check connectivity into a server.

Author: Michael Paquier <michael@paquier.xyz>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/642bafa0c5f9f08d106a14f31429e0e0c718b603

Modified Files
--------------
src/test/ssl/ServerSetup.pm    |  45 +++++++++++++-
src/test/ssl/t/001_ssltests.pl | 132 +++++++++++++++++------------------------
2 files changed, 100 insertions(+), 77 deletions(-)