pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl. - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
Date
Msg-id E1mWR76-0000r7-6Z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Reference test binary using TESTDIR in 001_libpq_pipeline.pl.

The previous approach didn't really work on windows, due to the PATH separator
being ';' not ':'. Instead of making the PATH change more complicated,
reference the binary using the TESTDIR environment.

Reported-By: Andres Freund <andres@anarazel.de>
Suggested-By: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/20210930214040.odkdd42vknvzifm6@alap3.anarazel.de
Backpatch: 14-, where the test was introduced.

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0baa33da0fd123aff215c505116dc60bc04dae90

Modified Files
--------------
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
Next
From: Michael Paquier
Date:
Subject: pgsql: pg_stat_statements: Add some tests for older versions still usab