Re: [buildfarm-members] Moving to HTTPS
От | Andrew Dunstan |
---|---|
Тема | Re: [buildfarm-members] Moving to HTTPS |
Дата | |
Msg-id | 96080bc2-086f-c47f-6cee-b7f00a9bcd38@2ndQuadrant.com обсуждение исходный текст |
Ответ на | [buildfarm-members] Moving to HTTPS (Andrew Dunstan <andrew@dunslane.net>) |
Ответы |
Re: [buildfarm-members] Moving to HTTPS
|
Список | 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 по дате отправления: