]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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:31 +0000 (15:30 -0700)
commit0baa33da0fd123aff215c505116dc60bc04dae90
treeb9bc1da82c205793db68cb648f58ded53c72348a
parent20047609d39cc4d30d6b266ed3a8b418b3ce5f78
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