pgsql: Fix removal of files generated by TAP tests for SSL
От | Michael Paquier |
---|---|
Тема | pgsql: Fix removal of files generated by TAP tests for SSL |
Дата | |
Msg-id | E1jqRs1-0004kq-2u@gemulon.postgresql.org обсуждение исходный текст |
Список | pgsql-committers |
Fix removal of files generated by TAP tests for SSL 001_ssltests.pl and 002_scram.pl both generated an extra file for a client key used in the tests that were not removed. In Debian, this causes repeated builds to fail. The code refactoring done in 4dc6355 broke the cleanup done in 001_ssltests.pl, and the new tests added in 002_scram.pl via d6e612f forgot the removal of one file. While on it, fix a second issue introduced in 002_scram.pl where we use the same file name in 001 and 002 for the temporary client key whose permissions are changed in the test, as using the same file name in both tests could cause failures with parallel jobs of src/test/ssl/ if one test removes a file still needed by the second test. Reported-by: Felix Lechner Author: Daniel Gustafsson, Felix Lechner Reviewed-by: Tom Lane, Michael Paquier Discussion: https://postgr.es/m/CAFHYt543sjX=Cm_aEeoejStyP47C+Y3+Wh6WbirLXsgUMaw7iw@mail.gmail.com Backpatch-through: 13 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/48d50ee9aff9be0817a175418e100b7d7fa55a0f Modified Files -------------- src/test/ssl/t/001_ssltests.pl | 4 +++- src/test/ssl/t/002_scram.pl | 16 +++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-)
В списке pgsql-committers по дате отправления: