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 <[email protected]> Discussion: https://postgr.es/m/[email protected] 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(-)
