Skip to content

Commit b22a36a

Browse files
committed
Fix pg_rewind regression tests in VPATH builds
Should call just "pg_rewind", instead of "./pg_rewind". The tests are called so that PATH contains the temporariy installation bin dir. Per report from Alvaro Herrera
1 parent 53ba107 commit b22a36a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_rewind/RewindTest.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ sub run_pg_rewind
224224
# Stop the master and be ready to perform the rewind
225225
system_or_bail("pg_ctl -w -D $test_standby_datadir stop -m fast >>$log_path 2>&1");
226226
my $result =
227-
run(['./pg_rewind',
227+
run(['pg_rewind',
228228
"--debug",
229229
"--source-pgdata=$test_standby_datadir",
230230
"--target-pgdata=$test_master_datadir"],
@@ -235,7 +235,7 @@ sub run_pg_rewind
235235
{
236236
# Do rewind using a remote connection as source
237237
my $result =
238-
run(['./pg_rewind',
238+
run(['pg_rewind',
239239
"--source-server", "port=$port_standby dbname=postgres",
240240
"--target-pgdata=$test_master_datadir"],
241241
'>>', $log_path, '2>&1');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy