Re: [buildfarm-members] Moving to HTTPS - Mailing list buildfarm-members

From Andrew Dunstan
Subject Re: [buildfarm-members] Moving to HTTPS
Date
Msg-id 96080bc2-086f-c47f-6cee-b7f00a9bcd38@2ndQuadrant.com
Whole thread Raw
In response to [buildfarm-members] Moving to HTTPS  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [buildfarm-members] Moving to HTTPS
List buildfarm-members

On 01/07/2017 04:55 PM, Noah Misch wrote:
> On Sat, Jan 07, 2017 at 04:37:47PM -0500, Andrew Dunstan wrote:
>> Here's a simple test that should help tell if your animal needs some extra
>> stuff installed. Run something like this on your animal, making sure that
>> the perl in your path is the one used to run the buildfarm client:
>>
>>
>>     perl -MLWP::Simple -e 'head(q{https://www.postgresql.org});
> I get no complaint from that, but I also get no complaint from these:
>
>    perl -MLWP::Simple -e 'head(q{https://nonsense.postgresql.org});'; echo $?
>    perl -MLWP::Simple -e 'head(q{nonsense://nonsense});'; echo $?
>
> Maybe use this:
>
>    perl -MData::Dumper -MLWP::Simple -e 'print Dumper [head(q{https://www.postgresql.org}) || "BAD"]'
>


Yeah, you're right. Or perhaps even more simply we could do:

        perl -MLWP::Simple -e 'print qq{BAD\n} unless head(q{https://www.postgresql.org});'

cheers

andrew

--
Andrew Dunstan                https://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



buildfarm-members by date:

Previous
From: Noah Misch
Date:
Subject: Re: [buildfarm-members] Moving to HTTPS
Next
From: Tom Lane
Date:
Subject: Re: [buildfarm-members] Moving to HTTPS