Re: Kerberos test suite
Robbie Harwood <rharwood@redhat.com>
From: Robbie Harwood <rharwood@redhat.com>
To: Thomas Munro <thomas.munro@enterprisedb.com>,
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2018-03-02T19:21:29Z
Lists: pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
>> On 2/27/18 00:56, Thomas Munro wrote:
>>> FWIW it passes for me if I add this:
>>>
>>> +elsif ($^O eq 'freebsd')
>>> +{
>>> + $krb5_bin_dir = '/usr/local/bin';
>>> + $krb5_sbin_dir = '/usr/local/sbin';
>>
>> I suppose you only need the second one, right? The first one should be
>> in the path.
>
> Erm. Turned out I had a couple of different versions in my path, but
> your test only works with the binaries in the paths shown above (the
> binaries installed from ports, or rather pkg install krb5, not the
> ones from the base system).
>
> munro@asterix $ /usr/bin/krb5-config --version
> FreeBSD heimdal 1.1.0
This one's Heimdal; the test is intended to only work with MIT. Perhaps
it should check the output of krb5-config instead of failing
confusingly?
> munro@asterix $ /usr/local/bin/krb5-config --version
> Kerberos 5 release 1.15.2
Thanks,
--Robbie
Commits
-
Make "kerberos" test suite independent of "localhost" name resolution.
- 75224ac20e90 11.0 landed
- e61f21b921ae 12.0 landed