Re: [HACKERS] [COMMITTERS] pgsql: passwordcheck: Add test suite - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [HACKERS] [COMMITTERS] pgsql: passwordcheck: Add test suite
Date
Msg-id CAB7nPqQy7Zq152EQiFTE8=fkmHU5srePkkFPH8fhOHBvsWeKPA@mail.gmail.com
Whole thread Raw
Responses Re: [HACKERS] [COMMITTERS] pgsql: passwordcheck: Add test suite  (Michael Paquier <michael.paquier@gmail.com>)
List pgsql-hackers
On Fri, Sep 15, 2017 at 11:46 AM, Peter Eisentraut <peter_e@gmx.net> wrote:
> passwordcheck: Add test suite
>
> Also improve one error message.
>
> Reviewed-by: David Steele <david@pgmasters.net>

Sorry for showing up late for this topic.
+REGRESS_OPTS = --temp-config $(srcdir)/passwordcheck.conf
+REGRESS = passwordcheck
+# disabled because these tests require setting shared_preload_libraries
+NO_INSTALLCHECK = 1
You could have avoided all that by just issuing "load
'passwordcheck';" at the beginning of the test. And you gain support
for installcheck this way.
-- 
Michael


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] additional contrib test suites
Next
From: Andres Freund
Date:
Subject: Re: [HACKERS] POC: Sharing record typmods between backends