pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
Date: 2021-10-01 22:34:41
Message-ID: E1mWR73-0000qh-Eq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)anarazel(dot)de>
Suggested-By: Andrew Dunstan <andrew(at)dunslane(dot)net>
Discussion: https://postgr.es/m/20210930214040.odkdd42vknvzifm6@alap3.anarazel.de
Backpatch: 14-, where the test was introduced.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/795862c280c5949bafcd8c44543d887fd32b590a

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

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2021-10-01 22:34:44 pgsql: Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
Previous Message Alvaro Herrera 2021-10-01 21:31:17 pgsql: Error out if SKIP LOCKED and WITH TIES are both specified