aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorÁlvaro Herrera <alvherre@alvh.no-ip.org>2024-11-21 17:04:26 +0100
committerÁlvaro Herrera <alvherre@alvh.no-ip.org>2024-11-21 17:06:53 +0100
commit93d8d4fe1255fa129d3447054a6b3e492de6788a (patch)
treeed6f0d116bae64533eff464745426b0615ab4a56 /src
parentc0ff8261e2b9ba2f78c2b7ed4128f18a260751e0 (diff)
downloadpostgresql-93d8d4fe1255fa129d3447054a6b3e492de6788a.tar.gz
postgresql-93d8d4fe1255fa129d3447054a6b3e492de6788a.zip
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 90bcc7c2db1d. 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
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_rewind/t/010_keep_recycled_wals.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_rewind/t/010_keep_recycled_wals.pl b/src/bin/pg_rewind/t/010_keep_recycled_wals.pl
index e6dfce2a54a..bf0084d3bc3 100644
--- a/src/bin/pg_rewind/t/010_keep_recycled_wals.pl
+++ b/src/bin/pg_rewind/t/010_keep_recycled_wals.pl
@@ -23,9 +23,9 @@ $node_standby->reload();
RewindTest::primary_psql("CHECKPOINT"); # last common checkpoint
-# We use "perl -e 'exit(1)'" as an alternative to "false", because the latter
+# We use `perl -e "exit(1)"` as an alternative to "false", because the latter
# might not be available on Windows.
-my $false = "$^X -e 'exit(1)'";
+my $false = "$^X -e \"exit(1)\"";
$node_primary->append_conf(
'postgresql.conf', qq(
archive_command = '$false'