pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
Date: Thu, 07 Feb 2019 16:12:06 +0000
Message-ID: <E1grmHW-00069D-O5@gemulon.postgresql.org> (raw)

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/e4b0f366-269c-73c3-9c90-d9cb0f4db1f9@2ndQuadrant.com

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(-)



view thread (5+ messages)  latest in thread

Message-ID: <E1grmHW-00069D-O5@gemulon.postgresql.org>
Permalink:  ../E1grmHW-00069D-O5@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1grmHW-00069D-O5@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net
  Subject: Re: pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
  In-Reply-To: <E1grmHW-00069D-O5@gemulon.postgresql.org>
  References: <E1grmHW-00069D-O5@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox