oauth: Correct test dependency on oauth_hook_client

The oauth_validator tests missed the lessons of c89525d57 et al, so
certain combinations of command-line build order and `meson test`
options can result in

    Command 'oauth_hook_client' not found in [...] at 
src/test/perl/PostgreSQL/Test/Utils.pm line 427.

Add the missing dependency on the test executable. This fixes, for
example,

    $ ninja clean && ninja meson-test-prereq && PG_TEST_EXTRA=oauth meson test 
--no-rebuild

Reported-by: Jonathan Gonzalez V. <[email protected]>
Author: Jonathan Gonzalez V. <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]
Discussion: 
https://postgr.es/m/qh4c5tvkgjef7jikjig56rclbcdrrotngnwpycukd2n3k25zi2%4044hxxvtwmgum
Backpatch-through: 18

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c6a10a89feab903b03e2eb664bd6e931b28416a2

Modified Files
--------------
src/test/modules/oauth_validator/meson.build | 1 +
1 file changed, 1 insertion(+)

Reply via email to