Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b5be29e

Browse files
committed
Fix newly introduced 010_keep_recycled_wals.pl
It failed to set the archive_command as it desired because of a syntax problem. Oversight in commit 90bcc7c. This bug doesn't cause the test to fail, because the test only checks pg_rewind's output messages, not the actual outcome (and the outcome in both cases is that the file is kept, not deleted). But in either case the message about the file being kept is there, so it's hard to get excited about doing much more. Reported-by: Antonin Houska <ah@cybertec.at> Author: Alexander Kukushkin <cyberdemn@gmail.com> Discussion: https://postgr.es/m/7822.1732167825@antos
1 parent 7300ff1 commit b5be29e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/pg_rewind/t/010_keep_recycled_wals.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323

2424
RewindTest::primary_psql("CHECKPOINT"); # last common checkpoint
2525

26-
# We use "perl -e 'exit(1)'" as an alternative to "false", because the latter
26+
# We use `perl -e "exit(1)"` as an alternative to "false", because the latter
2727
# might not be available on Windows.
28-
my $false = "$^X -e 'exit(1)'";
28+
my $false = "$^X -e \"exit(1)\"";
2929
$node_primary->append_conf(
3030
'postgresql.conf', qq(
3131
archive_command = '$false'

0 commit comments

Comments
 (0)