Further refinement of stuck_on_old_timeline recovery test
authorAndrew Dunstan <andrew@dunslane.net>
Tue, 15 Jun 2021 19:30:11 +0000 (15:30 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Tue, 15 Jun 2021 19:36:50 +0000 (15:36 -0400)
commitd906d106f854c51f830af05fe95c71d2898bb6b4
treee40097c5c5ca8a48dc952b95db2fae261222964f
parent602a32a685e4ca715a996f899d906e5f24308b51
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
src/test/recovery/t/025_stuck_on_old_timeline.pl