Re: Kerberos test suite - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Kerberos test suite
Date
Msg-id 7833fb7c-601e-64e8-d9d1-cdd2d5f11f1e@2ndquadrant.com
Whole thread Raw
In response to Re: Kerberos test suite  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: Kerberos test suite  (Thomas Munro <thomas.munro@enterprisedb.com>)
List pgsql-hackers
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.

> +}
> 
> One thing that surprised me is that your test runs my system's
> installed psql command out of my $PATH, not the one under test.  Is
> that expected?

Oh, you probably have a psql in /usr/local/bin, which we prepend to the
path, per the above.  We should probably append instead.  The ldap test
suite has the same issue.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Nikhil Sontakke
Date:
Subject: Re: [HACKERS] logical decoding of two-phase transactions
Next
From: Robert Haas
Date:
Subject: Re: Let's remove DSM_INPL_NONE.