postgresql/src/test
Andrew Dunstan 1dc53c914f
Further refinement of stuck_on_old_timeline recovery test
TestLib::perl2host can take a file argument as well as a directory
argument, so that code becomes substantially simpler. Also add comments
on why we're using forward slashes, and why we're setting
PERL_BADLANG=0.

Discussion: https://postgr.es/m/e9947bcd-20ee-027c-f0fe-01f736b7e345@dunslane.net
2021-06-15 15:37:15 -04:00
..
authentication Make new authentication test case more robust. 2020-09-04 21:01:59 -04:00
examples Client-side fixes for delayed NOTIFY receipt. 2018-10-19 22:22:57 -04:00
isolation Use "-I." in directories holding Bison parsers, for Oracle compilers. 2021-04-12 19:27:36 -07:00
locale Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:51:15 -08:00
mb Fix MB regression tests for WAL-logging of hash indexes. 2017-03-15 07:25:36 -04:00
modules Fix pg_dump for GRANT OPTION among initial privileges. 2021-01-16 12:21:39 -08:00
perl Ignore more environment variables in pg_regress.c 2021-06-13 20:08:00 +09:00
recovery Further refinement of stuck_on_old_timeline recovery test 2021-06-15 15:37:15 -04:00
regress Ignore more environment variables in pg_regress.c 2021-06-13 20:08:00 +09:00
ssl Fix searchpath and module location for pg_rewind and ssl TAP tests 2019-02-07 11:10:06 -05:00
subscription Empty search_path in logical replication apply worker and walsender. 2020-08-10 09:22:59 -07:00
thread Phase 2 of pgindent updates. 2017-06-21 15:19:25 -04:00
Makefile Add TAP tests for password-based authentication methods. 2017-03-17 11:34:16 +02:00
README Add TAP tests for password-based authentication methods. 2017-03-17 11:34:16 +02: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

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

isolation/
  Tests for concurrent behavior at the SQL level

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

thread/
  A thread-safety-testing utility used by configure