From: Andrei Pavel Date: Wed, 21 Apr 2021 17:14:07 +0000 (+0300) Subject: [#1721] add hooks-libraries test for redaction X-Git-Tag: Kea-1.9.8~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a52e0178cbd37fd0583024db164da645861813b8;p=thirdparty%2Fkea.git [#1721] add hooks-libraries test for redaction --- diff --git a/src/lib/testutils/dhcp_test_lib.sh.in b/src/lib/testutils/dhcp_test_lib.sh.in index 73ffd02264..2d1e36b920 100644 --- a/src/lib/testutils/dhcp_test_lib.sh.in +++ b/src/lib/testutils/dhcp_test_lib.sh.in @@ -1075,6 +1075,19 @@ kea_dhcp_config() { } ] }, + "hooks-libraries": [ + { + "library": "@abs_top_builddir@/src/bin/dhcp%s/tests/.libs/libco1.so", + "parameters": { + "password": "sensitive", + "user": "keatest", + "nested-map": { + "password": "sensitive", + "user": "keatest" + } + } + } + ], "hosts-database": { "password": "sensitive", "type": "mysql", @@ -1095,5 +1108,5 @@ kea_dhcp_config() { } } } -' "${1}" +' "${1}" "${1}" }