postgresql/src/test/authentication
2023-05-16 08:59:34 +02:00
..
t libpq: Error message improvement 2023-05-16 08:59:34 +02:00
.gitignore
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build libpq: Add support for require_auth to control authorized auth methods 2023-03-14 14:00:05 +09:00
README Doc: improve README files associated with TAP tests. 2021-10-31 18:12:44 -04:00

src/test/authentication/README

Regression tests for authentication
===================================

This directory contains a test suite for authentication. SSL certificate
authentication tests are kept separate, in src/test/ssl/, because they
are more complicated, and are not safe to run in a multi-user system.


Running the tests
=================

NOTE: You must have given the --enable-tap-tests argument to configure.

Run
    make check
or
    make installcheck
You can use "make installcheck" if you previously did "make install".
In that case, the code in the installation tree is tested.  With
"make check", a temporary installation tree is built from the current
sources and then tested.

Either way, this test initializes, starts, and stops a test Postgres
cluster.

See src/test/perl/README for more info about running these tests.