projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6abc8c2
)
Fix vpath build in libpq_pipeline test
author
Peter Eisentraut
Thu, 27 May 2021 14:40:52 +0000
(16:40 +0200)
committer
Peter Eisentraut
Thu, 27 May 2021 14:40:52 +0000
(16:40 +0200)
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
src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl
patch
|
blob
|
blame
|
history
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 8fd6cd45e7610bcd3fa5da378615a4d4c7bd9170..2bc0e6c223683a9793405ef59b3fb0fdd0e50a58 100644
(file)
--- 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 '';