On 2019-07-08 10:18, Michael Paquier wrote:
> On Mon, Jul 08, 2019 at 02:11:34PM +0800, Hao Wu wrote:
>> Thank you for your quick response! I work on greenplum, and I didn't see
>> this folder(src/test/ssl/ssl) before.
>> I will add more certificates to test and resend again.
>
> Not having duplicates would be nice.
I think sslinfo should be tested as an extension of src/test/ssl/
instead of its own test suite. There are too many complications that we
would otherwise have to solve again.
You might want to review commit f60a0e96778854ed0b7fd4737488ba88022e47bd
and how it adds test cases. You can't just hardcode a specific output
since different installations might report TLS 1.2 vs 1.3, different
ciphers etc.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services