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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: bc1adc6) | patch
Check error messages in SSL tests
2018年2月23日 18:54:45 +0000 (13:54 -0500)
2018年2月24日 15:07:45 +0000 (10:07 -0500)
commit 081bfc19b3b7914b78eb44e00af9dd45325dda3e
Check error messages in SSL tests

In tests that check whether a connection fails, also check the error
message. That makes sure that the connection was rejected for the right
reason.

This discovered that two tests had their connection failing for the
wrong reason. One test failed because pg_hba.conf was not set up to
allow that user, one test failed because the client key file did not
have the right permissions. Fix those tests and add a new one that is
really supposed to check the file permission issue.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
src/test/ssl/ServerSetup.pm diff | blob | blame | history
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 によって変換されたページ (->オリジナル) /