summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-05-27 16:40:52 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-05-27 16:40:52 +0200
commita717e5c771610cf8607f2423ab3ab6b5d30f44ea (patch)
tree1fc3972fafcbc23d4fc5e0f09f9161cb38a7d2ac /src
parent6abc8c2596dbfcb24f9b4d954a1465b8015118c3 (diff)
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 6abc8c2596dbfcb24f9b4d954a1465b8015118c3
Diffstat (limited to 'src')
-rw-r--r--src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl b/src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl
index 8fd6cd45e76..2bc0e6c2236 100644
--- a/src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl
+++ b/src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl
@@ -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 '';