| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Make SSL tests more robust |
| Date: | 2019-01-29 12:09:01 |
| Message-ID: | E1goSCL-0000uA-NL@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Make SSL tests more robust
Someone running these test could have key or certificate files in
their ~/.postgresql/, which would interfere with the tests. The way
to override that is to specify sslcert=invalid and/or
sslrootcert=invalid if no actual certificate is used for a particular
test. Document that and fix up one test that had a risk of failing in
these circumstances.
Discussion: https://www.postgresql.org/message-id/flat/398754d8-6bb5-c5cf-e7b8-22e5f0983caf(at)2ndquadrant(dot)com/
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bdd6e9ba171765ae34d320e1be17717620cb491c
Modified Files
--------------
src/test/ssl/ServerSetup.pm | 10 ++++++++++
src/test/ssl/t/002_scram.pl | 2 +-
2 files changed, 11 insertions(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Berg | 2019-01-29 14:04:38 | Re: pgsql: Build src/port files as a library with -fPIC, and use that in li |
| Previous Message | Magnus Hagander | 2019-01-29 09:45:29 | pgsql: Improve wording about WAL files in tar mode of pg_basebackup |