pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
Date: 2019-02-07 16:12:06
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix searchpath and module location for pg_rewind and ssl TAP tests

The modules RewindTest.pm and ServerSetup.pm are really only useful for
TAP tests, so they really belong in the TAP test directories. In
addition, ServerSetup.pm is renamed to SSLServer.pm.

The test scripts have their own directories added to the search path so
that the relocated modules will be found, regardless of where the tests
are run from, even on modern perl where "." is no longer in the
searchpath.

Discussion: https://postgr.es/m/[email protected]

Backpatch as appropriate to 9.5

Branch
------
REL9_6_STABLE

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

Modified Files
--------------
src/bin/pg_rewind/t/001_basic.pl | 3 +++
src/bin/pg_rewind/t/002_databases.pl | 3 +++
src/bin/pg_rewind/t/003_extrafiles.pl | 3 +++
src/bin/pg_rewind/t/004_pg_xlog_symlink.pl | 3 +++
src/bin/pg_rewind/t/005_same_timeline.pl | 3 +++
src/bin/pg_rewind/{ => t}/RewindTest.pm | 0
src/test/ssl/t/001_ssltests.pl | 6 +++++-
src/test/ssl/{ServerSetup.pm => t/SSLServer.pm} | 2 +-
8 files changed, 21 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andrew Dunstan 2019-02-07 16:15:28 pgsql: Fix perl searchpath for gen_keywordlist.pl
Previous Message Peter Eisentraut 2019-02-07 08:28:09 pgsql: Use EXECUTE FUNCTION syntax for triggers more