Reference test binary using TESTDIR in 001_libpq_pipeline.pl.

Andres Freund <andres@anarazel.de>

Commit: 0baa33da0fd123aff215c505116dc60bc04dae90
Author: Andres Freund <andres@anarazel.de>
Date: 2021-10-01T22:30:31Z
Releases: 14.1
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.

Files

Discussion