Here is a patch with a test suite for the Kerberos/GSSAPI authentication
functionality. It's very similar in principle to the recently added
LDAP tests, and similar caveats apply.
You will need the client and server parts of a krb5 package
installation, possibly named krb5-workstation and krb5-server, or
perhaps krb5-user and krb5-kdc.
(If it appears to hang for you in the "setting up Kerberos" step, you
might need more entropy/wait a while. That problem appears to be
limited to some virtual machine setups, but the specifics are not clear.)
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services