Add TAP tests for contrib/sslinfo
Daniel Gustafsson <dgustafsson@postgresql.org>
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 <tgl@sss.pgh.pa.us> Reviewed-by: Andrew Dunstan <andrew@dunslane.net> Reviewed-by: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/E23F9811-0C77-45DA-912F-D809AB140741@yesql.se
Files
| Path | Change | +/− |
|---|---|---|
| src/test/ssl/conf/client_ext.config | added | +16 −0 |
| src/test/ssl/Makefile | modified | +2 −0 |
| src/test/ssl/README | modified | +2 −0 |
| src/test/ssl/ssl/client_ext.crt | added | +21 −0 |
| src/test/ssl/ssl/client_ext.key | added | +28 −0 |
| src/test/ssl/sslfiles.mk | modified | +1 −1 |
| src/test/ssl/t/003_sslinfo.pl | added | +134 −0 |
Discussion
- SSL Tests for sslinfo extension 12 messages · 2021-05-19 → 2021-11-30