mirror of https://github.com/postgres/postgres
This is the only test that fails when run as an admin user. The reason is that when Postgres is started via pg_ctl its admin privileges are lowered. However, this test called 'postgres -D datadir' directly, resulting in a failure. Replace that by calling pg_ctl and then checking the result for the expected failure, and the logfile for the expected error message.pull/39/head
parent
72c7c4e386
commit
4eff1e9f0b
Loading…
Reference in new issue