pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
5+ messages / 1 participants
[nested] [flat]

* pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
@ 2019-02-07 16:12  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2019-02-07 16:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8722d2cbc0500b8ae1ebaf0a388115617615c1eb

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                  | 7 ++++++-
src/test/ssl/t/002_scram.pl                     | 7 ++++++-
src/test/ssl/{ServerSetup.pm => t/SSLServer.pm} | 2 +-
9 files changed, 28 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
@ 2019-02-07 16:12  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2019-02-07 16:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7b8c6ef1e05fede7123bed5a3af4b780da241b4e

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
@ 2019-02-07 16:12  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2019-02-07 16:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
@ 2019-02-07 16:12  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2019-02-07 16:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
REL_10_STABLE

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

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                  | 7 ++++++-
src/test/ssl/{ServerSetup.pm => t/SSLServer.pm} | 2 +-
8 files changed, 22 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes
@ 2019-02-07 16:12  Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Andrew Dunstan @ 2019-02-07 16:12 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8ce641f99709669133c6cbb12aa3d516af7897aa

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                  | 7 ++++++-
src/test/ssl/t/002_scram.pl                     | 7 ++++++-
src/test/ssl/{ServerSetup.pm => t/SSLServer.pm} | 2 +-
9 files changed, 28 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2019-02-07 16:12 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 16:12 pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes Andrew Dunstan <andrew@dunslane.net>
2019-02-07 16:12 pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes Andrew Dunstan <andrew@dunslane.net>
2019-02-07 16:12 pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes Andrew Dunstan <andrew@dunslane.net>
2019-02-07 16:12 pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes Andrew Dunstan <andrew@dunslane.net>
2019-02-07 16:12 pgsql: Fix searchpath and module location for pg_rewind and ssl TAP tes Andrew Dunstan <andrew@dunslane.net>

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