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:35:47 +0000 (15:35 -0400)
commit54a5ed22016940d7ad5060ed62d23473924756a1
tree1d8c497ae29d4c642800b7b98e388f3ab3b717a0
parent817bb0a7d1e02df4643d37304aed8574cf43f629
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