Fix pgbench TAP test to work in VPATH builds.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Mar 2018 19:48:26 +0000 (14:48 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Mar 2018 19:48:26 +0000 (14:48 -0500)
commite94f2bc809a0c684185666f19d81f6496e732a3a
treee24db31d39ee84b8a13fa3fe826633f9e57b9179
parentfd1a421fe66173fb9b85d3fe150afde8e812cbe4
Fix pgbench TAP test to work in VPATH builds.

Previously, it'd try to create log files under the source directory
not the build directory.  This fell over if the source isn't writable
by the building user.

Fabien Coelho

Discussion: https://postgr.es/m/alpine.DEB.2.20.1801101038340.2283@lancre
src/bin/pgbench/t/001_pgbench_with_server.pl