Skip to content

Commit a717e5c

Browse files
committed
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 6abc8c2
1 parent 6abc8c2 commit a717e5c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,13 @@
88
use PostgresNode;
99
use TestLib;
1010
use Test::More;
11-
use Cwd;
1211

1312
my $node = get_new_node('main');
1413
$node->init;
1514
$node->start;
1615

1716
my $numrows = 700;
18-
$ENV{PATH} = "$ENV{PATH}:" . getcwd();
17+
$ENV{PATH} = "$ENV{TESTDIR}:$ENV{PATH}";
1918

2019
my ($out, $err) = run_command([ 'libpq_pipeline', 'tests' ]);
2120
die "oops: $err" unless $err eq '';

0 commit comments

Comments
 (0)