Thread: pgsql: Prevent LDAP and SSL tests from running without support inbuild

pgsql: Prevent LDAP and SSL tests from running without support inbuild

From
Peter Eisentraut
Date:
Prevent LDAP and SSL tests from running without support in build

Add checks in each test file that the build supports the feature,
otherwise skip all the tests.  Before, if someone were to (accidentally)
invoke these tests without build support, they would fail in confusing
ways.

based on patch from Michael Paquier <michael@paquier.xyz>

Branch
------
master

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

Modified Files
--------------
src/test/ldap/Makefile         |  2 ++
src/test/ldap/t/001_auth.pl    | 11 ++++++++++-
src/test/ssl/Makefile          |  2 ++
src/test/ssl/t/001_ssltests.pl | 11 ++++++++++-
src/test/ssl/t/002_scram.pl    | 11 ++++++++++-
5 files changed, 34 insertions(+), 3 deletions(-)