Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msWgF-0002iL-VZ for pgsql-committers@arkaria.postgresql.org; Wed, 01 Dec 2021 20:58:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1msWgE-00053r-KD for pgsql-committers@arkaria.postgresql.org; Wed, 01 Dec 2021 20:58:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msWgE-00053i-DB for pgsql-committers@lists.postgresql.org; Wed, 01 Dec 2021 20:58:18 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1msWgA-0005Mo-MS for pgsql-committers@lists.postgresql.org; Wed, 01 Dec 2021 20:58:17 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 7A3F82EA05F7 for ; Wed, 1 Dec 2021 21:58:11 +0100 (CET) Received: from s645.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id 6AD902EBC0AE; Wed, 1 Dec 2021 21:58:11 +0100 (CET) Received: from s472.loopia.se (unknown [172.22.191.6]) by s645.loopia.se (Postfix) with ESMTP id 4F97615704AA; Wed, 1 Dec 2021 21:58:11 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1 X-Spam-Level: X-Spam-Status: No, score=-1 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1] autolearn=disabled Received: from s645.loopia.se ([172.22.191.5]) by s472.loopia.se (s472.loopia.se [172.22.190.12]) (amavisd-new, port 10024) with LMTP id HqwJhkMuiI-K; Wed, 1 Dec 2021 21:58:10 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from [192.168.72.144] (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s645.loopia.se (Postfix) with ESMTPSA id C761A157048B; Wed, 1 Dec 2021 21:58:10 +0100 (CET) From: Daniel Gustafsson Message-Id: <97EC3C0F-E7FB-4C5A-A15D-4E8F54CAF032@yesql.se> Content-Type: multipart/mixed; boundary="Apple-Mail=_676D72C6-F465-4DE2-96B9-E648D17F8732" Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: pgsql: Add TAP tests for contrib/sslinfo Date: Wed, 1 Dec 2021 21:58:10 +0100 In-Reply-To: <50312478-6DB6-4A9A-99BF-2EACFF286149@yesql.se> Cc: pgsql-committers@lists.postgresql.org, Andrew Dunstan To: Michael Paquier , Tom Lane References: <058AAA2B-06CA-4D1C-8D24-B9EA6632C072@yesql.se> <1632478.1638305700@sss.pgh.pa.us> <887628C4-6E1C-4DE5-BA8E-4252BA2B1A0D@yesql.se> <1636597.1638308177@sss.pgh.pa.us> <1686601.1638333261@sss.pgh.pa.us> <74D032CB-B5EE-4B39-AFBE-67F835A2CBDF@yesql.se> <50312478-6DB6-4A9A-99BF-2EACFF286149@yesql.se> X-Mailer: Apple Mail (2.3608.120.23.2.7) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --Apple-Mail=_676D72C6-F465-4DE2-96B9-E648D17F8732 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii > On 1 Dec 2021, at 20:49, Daniel Gustafsson wrote: > Looks like perl2host() was the missing piece, fairywren turned green = with > commit c3b34a0ff4. Thanks for pointing me in the right direction, I = will draft > a small paragraph on this to the TAP test README for other to learn = from. Would it make sense to add something like the attached to the = Portability section in the src/test/perl/README? It definitely would've helped me = with this particular issue, but that's admittedly a pretty limited = samplesize. -- Daniel Gustafsson https://vmware.com/ --Apple-Mail=_676D72C6-F465-4DE2-96B9-E648D17F8732 Content-Disposition: attachment; filename=perl2host_readme.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="perl2host_readme.diff" Content-Transfer-Encoding: 7bit diff --git a/src/test/perl/README b/src/test/perl/README index 9e870830cf..fbb6e9384d 100644 --- a/src/test/perl/README +++ b/src/test/perl/README @@ -126,3 +126,7 @@ Due to limitations of cpanm, this recipe doesn't exactly duplicate the module list of older buildfarm animals. The discrepancies should seldom matter, but if you want to be sure, bypass cpanm and instead manually install the desired versions of Test::Simple and IPC::Run. + +When passing a path from the Perl test code to PostgreSQL, like for example +the path to an SSL certificate, it must be converted for use on the host +system by using PostgreSQL::Test::Utils::perl2host. --Apple-Mail=_676D72C6-F465-4DE2-96B9-E648D17F8732--