postgresql/src/test/authentication
Tom Lane 0245f8db36 Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files.

This set of diffs is a bit larger than typical.  We've updated to
pg_bsd_indent 2.1.2, which properly indents variable declarations that
have multi-line initialization expressions (the continuation lines are
now indented one tab stop).  We've also updated to perltidy version
20230309 and changed some of its settings, which reduces its desire to
add whitespace to lines to make assignments etc. line up.  Going
forward, that should make for fewer random-seeming changes to existing
code.

Discussion: https://postgr.es/m/20230428092545.qfb3y5wcu4cm75ur@alvherre.pgsql
2023-05-19 17:24:48 -04:00
..
t Pre-beta mechanical code beautification. 2023-05-19 17:24:48 -04:00
.gitignore Add .gitignore for src/test/authentication/tmp_check. 2017-03-20 18:27:36 +01:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
README Doc: improve README files associated with TAP tests. 2021-10-31 18:12:44 -04:00
meson.build libpq: Add support for require_auth to control authorized auth methods 2023-03-14 14:00:05 +09:00

README

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.