mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-07 22:17:39 +08:00
I happened to notice that the new test case I added in b55b4dad9 falls over if one runs "make check" repeatedly; though not in branches after v10. That's because it was assuming that tmp_check/pgpass wouldn't exist already. However, it's only been since v11 that the Makefiles forcibly remove all of tmp_check/ before starting a TAP run. This fix to unlink the file is therefore strictly necessary only in v10 ... but it seems wisest to do it across the board, rather than let the test rely on external logic to get the conditions right.
src/test/authentication/README
Regression tests for authentication
===================================
This directory contains a test suite for authentication. SSL certificate
authentication tests are kept separate, in src/test/ssl/, because they
are more complicated, and are not safe to run in a multi-user system.
Running the tests
=================
make check
NOTE: This requires the --enable-tap-tests argument to configure.