git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: ae81776) | patch
Use test-specific temp path for keys during SSL test
2021年11月30日 10:21:27 +0000 (11:21 +0100)
2021年11月30日 10:21:27 +0000 (11:21 +0100)
commit c113d8ad50d62bfcc16bbd5ceec91122e0046ede
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
src/test/ssl/ssl/.gitignore diff | blob | blame | history
src/test/ssl/t/001_ssltests.pl diff | blob | blame | history
src/test/ssl/t/002_scram.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /