Re: check error messages in SSL tests

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: check error messages in SSL tests
Дата
Msg-id 20180307013844.GB1744@paquier.xyz
обсуждение исходный текст
Ответ на Re: check error messages in SSL tests  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Список pgsql-hackers
On Tue, Mar 06, 2018 at 02:54:16PM -0500, Peter Eisentraut wrote:
> This contains a slight problem:  The tests contain two different
> branches, depending on whether tls-server-end-point is supported.  But
> these branches run a different number of tests, so the test count of the
> top of the test file might be wrong.  Here is a patch that restructures
> this to count the tests more dynamically.

Not sure how I missed that.  The error is obvious as command_ok triggers
one test and command_fails_like does two of them.  Test::More also
documents what you are using here, so the patch looks fine to me.
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: [HACKERS] path toward faster partition pruning
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Speed up the removal of WAL files