On 6/14/21 1:50 PM, Andrew Dunstan wrote: > On 6/14/21 1:11 PM, Robert Haas wrote: >> On Mon, Jun 14, 2021 at 12:56 PM Andrew Dunstan <and...@dunslane.net> wrote: >>> $^X is not at all broken. >>> >>> The explanation here is pretty simple - the argument to perl2host is >>> meant to be a directory. If we're going to accomodate plain files then >>> we have some more work to do in TestLib. >> This explanation seems to contradict the documentation in TestLib.pm, >> which makes no mention of any such restriction. > > Heres a snippet: > > > sub perl2host > { > my ($subject) = @_; > ... > if (chdir $subject) > > > Last time I looked you can't chdir to anything except a directory.
Actually, I take it back, it does work for a file. I'll change it. I probably did this when something else wasn't working. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com