aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_rewind/t/001_basic.pl
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_rewind/t/001_basic.pl')
-rw-r--r--src/bin/pg_rewind/t/001_basic.pl16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/pg_rewind/t/001_basic.pl b/src/bin/pg_rewind/t/001_basic.pl
index 7e971ded971..031060db842 100644
--- a/src/bin/pg_rewind/t/001_basic.pl
+++ b/src/bin/pg_rewind/t/001_basic.pl
@@ -106,8 +106,8 @@ sub run_test
command_fails(
[
'pg_rewind', '--debug',
- '--source-pgdata', $standby_pgdata,
- '--target-pgdata', $primary_pgdata,
+ '--source-pgdata' => $standby_pgdata,
+ '--target-pgdata' => $primary_pgdata,
'--no-sync'
],
'pg_rewind with running target');
@@ -118,8 +118,8 @@ sub run_test
command_fails(
[
'pg_rewind', '--debug',
- '--source-pgdata', $standby_pgdata,
- '--target-pgdata', $primary_pgdata,
+ '--source-pgdata' => $standby_pgdata,
+ '--target-pgdata' => $primary_pgdata,
'--no-sync', '--no-ensure-shutdown'
],
'pg_rewind --no-ensure-shutdown with running target');
@@ -131,8 +131,8 @@ sub run_test
command_fails(
[
'pg_rewind', '--debug',
- '--source-pgdata', $standby_pgdata,
- '--target-pgdata', $primary_pgdata,
+ '--source-pgdata' => $standby_pgdata,
+ '--target-pgdata' => $primary_pgdata,
'--no-sync', '--no-ensure-shutdown'
],
'pg_rewind with unexpected running source');
@@ -145,8 +145,8 @@ sub run_test
command_ok(
[
'pg_rewind', '--debug',
- '--source-pgdata', $standby_pgdata,
- '--target-pgdata', $primary_pgdata,
+ '--source-pgdata' => $standby_pgdata,
+ '--target-pgdata' => $primary_pgdata,
'--no-sync', '--dry-run'
],
'pg_rewind --dry-run');