Fix installcheck for test_rls_hooks

Stephen Frost <sfrost@snowman.net>

Commit: 450fa1b5ba0e986a20d8c017500c0c0bbf1e0b4b
Author: Stephen Frost <sfrost@snowman.net>
Date: 2015-04-22T16:43:57Z
Releases: 9.5.0
Fix installcheck for test_rls_hooks

As pointed out by the buildfarm, test_rls_hooks wasn't functioning
properly with a clean installcheck.  test_rls_hooks needs to explicitly
load the library with the hooks in it, to allow installcheck to work;
using the --temp-config doesn't help since that isn't used when running
installcheck and it isn't exactly fair to the buildfarm to modify the
installed config prior to calling installcheck.

Also, have test_rls_hooks clean up after itself.

Files