Content-Length: 272518 | pFad | http://github.com/postgrespro/postgres/commit/b22a36a62ce312c1df9477382d1da602b0c24f6f

6A Fix pg_rewind regression tests in VPATH builds · postgrespro/postgres@b22a36a · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b22a36a62ce312c1df9477382d1da602b0c24f6f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy