Reference test binary using TESTDIR in 001_libpq_pipeline.pl.
authorAndres Freund <andres@anarazel.de>
Thu, 30 Sep 2021 01:02:32 +0000 (18:02 -0700)
committerAndres Freund <andres@anarazel.de>
Fri, 1 Oct 2021 22:30:16 +0000 (15:30 -0700)
commit795862c280c5949bafcd8c44543d887fd32b590a
treea3f2dad153c07de1999d0b1ed4386c513e993c65
parentc6bc655ee2ef09449da7ff688a8be19a13db5c4a
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.
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl