pgsql: Further refinement of stuck_on_old_timeline recovery test

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Further refinement of stuck_on_old_timeline recovery test
Date: 2021-06-15 19:38:33
Message-ID: E1ltEtN-0003qO-U3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Further refinement of stuck_on_old_timeline recovery test

TestLib::perl2host can take a file argument as well as a directory
argument, so that code becomes substantially simpler. Also add comments
on why we're using forward slashes, and why we're setting
PERL_BADLANG=0.

Discussion: https://postgr.es/m/e9947bcd-20ee-027c-f0fe-01f736b7e345@dunslane.net

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c0a7587807dd9e0db5dbffb6d6b813a3e87d2519

Modified Files
--------------
src/test/recovery/t/025_stuck_on_old_timeline.pl | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-06-15 20:12:15 pgsql: Remove another orphan expected-result file.
Previous Message Alexander Korotkov 2021-06-15 18:45:04 pgsql: Revert 29854ee8d1 due to buildfarm failures