summaryrefslogtreecommitdiff
path: root/src/test/ssl
diff options
context:
space:
mode:
authorTom Lane2018-06-19 23:30:50 +0000
committerTom Lane2018-06-19 23:30:50 +0000
commitc992dca26e2b7d02ec7d43f2b71ff23d77e39f27 (patch)
treed87775c7a800e40bac9fd6d71b5895bb9d324198 /src/test/ssl
parent9bab9cb36ad9186c9898703106b545d6dbb2aa24 (diff)
Clarify the README files for the various separate TAP-based test suites.
Explain the difference between "make check" and "make installcheck". Mention the need for --enable-tap-tests (only some of these did so before). Standardize their wording about how to run the tests.
Diffstat (limited to 'src/test/ssl')
-rw-r--r--src/test/ssl/README21
1 files changed, 14 insertions, 7 deletions
diff --git a/src/test/ssl/README b/src/test/ssl/README
index 5e8bf641ba4..84baa478cef 100644
--- a/src/test/ssl/README
+++ b/src/test/ssl/README
@@ -7,20 +7,27 @@ This directory contains a test suite for SSL support. It tests both
client-side functionality, i.e. verifying server certificates, and
server-side functionality, i.e. certificate authorization.
+CAUTION: The test server run by this test is configured to listen for
+TCP connections on localhost. Any user on the same host is able to
+log in to the test server while the tests are running. Do not run this
+suite on a multi-user system where you don't trust all local users!
+
Running the tests
=================
- make check
+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.
-NOTE: This creates a temporary installation (in the case of "check"),
-and sets it up to listen for TCP connections on localhost. Any user on
-the same host is allowed to log in to the test installation while the
-tests are running. Do not run this suite on a multi-user system where
-you don't trust all local users!
+Either way, this test initializes, starts, and stops a test Postgres
+cluster that is accessible to other local users!
Certificates
============