From f0614a57f86c1d7dadc078e0f2ec199d719da5dd Mon Sep 17 00:00:00 2001 From: "W.C.A. Wijngaards" Date: Tue, 4 Oct 2022 16:59:10 +0200 Subject: [PATCH] - Fix to clean up after the acl_interface unit test. --- doc/Changelog | 1 + testdata/acl_interface.tdir/acl_interface.dsc | 2 +- testdata/acl_interface.tdir/acl_interface.post | 11 +++++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 testdata/acl_interface.tdir/acl_interface.post diff --git a/doc/Changelog b/doc/Changelog index b007a168e..24b17b506 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -1,6 +1,7 @@ 4 October 2022: Wouter - Fix static analysis report to remove dead code from the rpz_callback_from_iterator_module function. + - Fix to clean up after the acl_interface unit test. 3 October 2022: George - Merge #760: PROXYv2 downstream support. (New proxy-protocol-port diff --git a/testdata/acl_interface.tdir/acl_interface.dsc b/testdata/acl_interface.tdir/acl_interface.dsc index 3e5e94de8..cfe5c3cf5 100644 --- a/testdata/acl_interface.tdir/acl_interface.dsc +++ b/testdata/acl_interface.tdir/acl_interface.dsc @@ -9,7 +9,7 @@ CmdDepends: Depends: Help: Pre: acl_interface.pre -Post: +Post: acl_interface.post Test: acl_interface.test AuxFiles: Passed: diff --git a/testdata/acl_interface.tdir/acl_interface.post b/testdata/acl_interface.tdir/acl_interface.post new file mode 100644 index 000000000..982e2b895 --- /dev/null +++ b/testdata/acl_interface.tdir/acl_interface.post @@ -0,0 +1,11 @@ +# #-- acl_interface.post --# +# source the master var file when it's there +[ -f ../.tpkg.var.master ] && source ../.tpkg.var.master +# source the test var file when it's there +[ -f .tpkg.var.test ] && source .tpkg.var.test +# +# do your teardown here +. ../common.sh +kill_pid $UNBOUND_PID +kill_pid $FWD_PID +kill_pid $STUB_PID -- 2.47.3