| From: | Andrew Dunstan <andrew(dot)dunstan(at)2ndquadrant(dot)com> |
|---|---|
| To: | Noah Misch <noah(at)leadboat(dot)com> |
| Cc: | buildfarm-members(at)postgresql(dot)org, buildfarm-admins(at)postgresql(dot)org |
| Subject: | Re: Moving to HTTPS |
| Date: | 2017-01-07 22:08:01 |
| Message-ID: | 96080bc2-086f-c47f-6cee-b7f00a9bcd38@2ndQuadrant.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2017-01-08 00:12:07 | Re: Moving to HTTPS |
| Previous Message | Noah Misch | 2017-01-07 21:55:23 | Re: Moving to HTTPS |