diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-05-27 16:40:52 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-05-27 16:40:52 +0200 |
commit | a717e5c771610cf8607f2423ab3ab6b5d30f44ea (patch) | |
tree | 1fc3972fafcbc23d4fc5e0f09f9161cb38a7d2ac | |
parent | 6abc8c2596dbfcb24f9b4d954a1465b8015118c3 (diff) | |
download | postgresql-a717e5c771610cf8607f2423ab3ab6b5d30f44ea.tar.gz postgresql-a717e5c771610cf8607f2423ab3ab6b5d30f44ea.zip |
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
-rw-r--r-- | src/test/modules/libpq_pipeline/t/001_libpq_pipeline.pl | 3 |
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 ''; |