Further refinement of stuck_on_old_timeline recovery test

Andrew Dunstan <andrew@dunslane.net>

Commit: e46f6a078c1a4a2293839c9c5560517b2c4e1d12
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-06-15T19:37:24Z
Releases: 9.6.23
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

Files

Discussion