Prevent LDAP and SSL tests from running without support in build

Peter Eisentraut <peter_e@gmx.net>

Commit: ff18115ae9dc2f2e54f5feb8cd9c493bd963a641
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2018-03-03T13:52:21Z
Releases: 11.0
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>

Files

PathChange+/−
src/test/ldap/Makefile modified +2 −0
src/test/ldap/t/001_auth.pl modified +10 −1
src/test/ssl/Makefile modified +2 −0
src/test/ssl/t/001_ssltests.pl modified +10 −1
src/test/ssl/t/002_scram.pl modified +10 −1