postgresql/src/test
Peter Eisentraut 3c44e7d8d4 Allow tests to pass in OpenSSL FIPS mode (rest)
This adds alternative expected files for various tests.

In src/test/regress/sql/password.sql, we make a small change to the
test so that the CREATE ROLE still succeeds even if the ALTER ROLE
that attempts to set a password might fail.  That way, the roles are
available for the rest of the test file in either case.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://www.postgresql.org/message-id/flat/dbbd927f-ef1f-c9a1-4ec6-c759778ac852%40enterprisedb.com
2023-11-17 17:58:39 +01:00
..
authentication Allow tests to pass in OpenSSL FIPS mode (TAP tests) 2023-11-17 16:52:46 +01:00
examples Remove distprep 2023-11-06 15:18:04 +01:00
icu Remove distprep 2023-11-06 15:18:04 +01:00
isolation Remove distprep 2023-11-06 15:18:04 +01:00
kerberos Remove distprep 2023-11-06 15:18:04 +01:00
ldap Remove distprep 2023-11-06 15:18:04 +01:00
locale Remove distprep 2023-11-06 15:18:04 +01:00
mb
modules src/test/modules/test_dsa needs a .gitignore file. 2023-11-15 13:59:54 -05:00
perl Add test for checking the line length of --help output 2023-10-06 11:56:19 +02:00
recovery Remove distprep 2023-11-06 15:18:04 +01:00
regress Allow tests to pass in OpenSSL FIPS mode (rest) 2023-11-17 17:58:39 +01:00
ssl Allow tests to pass in OpenSSL FIPS mode (TAP tests) 2023-11-17 16:52:46 +01:00
subscription Remove distprep 2023-11-06 15:18:04 +01:00
Makefile Refactor PG_TEST_EXTRA logic in autoconf build 2022-09-20 11:24:16 -07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
README Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00

PostgreSQL tests
================

This directory contains a variety of test infrastructure as well as some of the
tests in PostgreSQL. Not all tests are here -- in particular, there are more in
individual contrib/ modules and in src/bin.

Not all these tests get run by "make check". Check src/test/Makefile to see
which tests get run automatically.

authentication/
  Tests for authentication (but see also below)

examples/
  Demonstration programs for libpq that double as regression tests via
  "make check"

isolation/
  Tests for concurrent behavior at the SQL level

kerberos/
  Tests for Kerberos/GSSAPI authentication and encryption

ldap/
  Tests for LDAP-based authentication

locale/
  Sanity checks for locale data, encodings, etc

mb/
  Tests for multibyte encoding (UTF-8) support

modules/
  Extensions used only or mainly for test purposes, generally not suitable
  for installing in production databases

perl/
  Infrastructure for Perl-based TAP tests

recovery/
  Test suite for recovery and replication

regress/
  PostgreSQL's main regression test suite, pg_regress

ssl/
  Tests to exercise and verify SSL certificate handling

subscription/
  Tests for logical replication