pgsql: Use test-specific temp path for keys during SSL test

Поиск
Список
Период
Сортировка
От Daniel Gustafsson
Тема pgsql: Use test-specific temp path for keys during SSL test
Дата
Msg-id E1ms0iG-00050S-1f@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use test-specific temp path for keys during SSL test

The SSL and SCRAM TAP test suites both use temporary copies of the
supplied test keys in order to ensure correct permissions.  These
were however copied inside the tree using temporary filenames rather
than a true temporary folder.  Fix by using tmp_check supplied by
PostgreSQL::Test::Utils. Spotted by Tom Lane during review of the
nearby sslinfo TAP test patch.

Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/599244.1638041239@sss.pgh.pa.us

Branch
------
master

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

Modified Files
--------------
src/test/ssl/ssl/.gitignore    |  1 -
src/test/ssl/t/001_ssltests.pl | 85 ++++++++++++++++++++----------------------
src/test/ssl/t/002_scram.pl    |  5 +--
3 files changed, 42 insertions(+), 49 deletions(-)


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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: pgsql: Add a view to show the stats of subscription workers.
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Remove PF_USED_FOR_ASSERTS_ONLY from variables in general use