Fix vpath build in libpq_pipeline test

The path needs to be set to refer to the build directory, not the
current directory, because that's actually the source directory at
that point.

fix for 6abc8c2596
This commit is contained in:
Peter Eisentraut 2021-05-27 16:40:52 +02:00
parent 6abc8c2596
commit a717e5c771
1 changed files with 1 additions and 2 deletions

View File

@ -8,14 +8,13 @@ use Config;
use PostgresNode;
use TestLib;
use Test::More;
use Cwd;
my $node = get_new_node('main');
$node->init;
$node->start;
my $numrows = 700;
$ENV{PATH} = "$ENV{PATH}:" . getcwd();
$ENV{PATH} = "$ENV{TESTDIR}:$ENV{PATH}";
my ($out, $err) = run_command([ 'libpq_pipeline', 'tests' ]);
die "oops: $err" unless $err eq '';