pgsql: Add TAP tests for contrib/sslinfo - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Add TAP tests for contrib/sslinfo
Date
Msg-id [email protected]
Whole thread Raw
Responses Re: pgsql: Add TAP tests for contrib/sslinfo
List pgsql-committers
Add TAP tests for contrib/sslinfo

This adds rudimentary coverage of the sslinfo extension into the SSL
test harness.  The output is validated by comparing with pg_stat_ssl
to provide some level of test stability should the underlying certs
be slightly altered.  A new cert is added to provide an extension to
test against.

Reviewed-by: Tom Lane <[email protected]>
Reviewed-by: Andrew Dunstan <[email protected]>
Reviewed-by: Dagfinn Ilmari Mannsåker <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ae81776a23f78babc9707e22f95dea15aa2dbcd2

Modified Files
--------------
src/test/ssl/Makefile               |   2 +
src/test/ssl/README                 |   2 +
src/test/ssl/conf/client_ext.config |  16 +++++
src/test/ssl/ssl/client_ext.crt     |  21 ++++++
src/test/ssl/ssl/client_ext.key     |  28 ++++++++
src/test/ssl/sslfiles.mk            |   2 +-
src/test/ssl/t/003_sslinfo.pl       | 134 ++++++++++++++++++++++++++++++++++++
7 files changed, 204 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: pgsql: Add a view to show the stats of subscription workers.
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Remove PF_USED_FOR_ASSERTS_ONLY from variables in general use