Disable perl2host() processing in TAP tests
authorAndrew Dunstan <andrew@dunslane.net>
Thu, 17 Feb 2022 14:59:59 +0000 (09:59 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 17 Feb 2022 14:59:59 +0000 (09:59 -0500)
This is a preliminary step towards removing it altogether, but this lets
us double check that nothing breaks in the buildfarm before we do.

Discussion: https://postgr.es/m/0ba775a2-8aa0-0d56-d780-69427cf6f33d@dunslane.net

src/test/perl/PostgreSQL/Test/Utils.pm

index 57fcb240898bb960ae42394f6adc47b01890b637..31e2b0315ee69eaca302c01e92b55e8101787a7e 100644 (file)
@@ -311,7 +311,7 @@ The returned path uses forward slashes but has no trailing slash.
 sub perl2host
 {
    my ($subject) = @_;
-   return $subject unless $Config{osname} eq 'msys';
+   return $subject;
    if ($is_msys2)
    {
        # get absolute, windows type path