pgsql: Use installed postgresql.conf.sample for GUC sanity TAP test

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use installed postgresql.conf.sample for GUC sanity TAP test
Date: 2022-11-13 14:53:47
Message-ID: E1ouEMk-0001We-Nc@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use installed postgresql.conf.sample for GUC sanity TAP test

The current code looks for the sample file in the source directory, but
it seems better to test against the installed sample file.

Backpatch to release 15 where the test was introduced.

Discussion: https://postgr.es/m/73eea68e-3b6f-5f63-6024-25ed26b52016@dunslane.net

Reviewed by Tom Lane, Alvaro Herrera, Michael Paquier.

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0086ee356fd9fd0ced2f21e6b31031cb28b4a64a

Modified Files
--------------
src/test/modules/test_misc/t/003_check_guc.pl | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-11-13 15:23:06 pgsql: Make Bitmapsets be valid Nodes.
Previous Message Andrew Dunstan 2022-11-13 14:04:14 pgsql: Make PostgreSQL::Test::Cluster::config_data more flexible