]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix to clean up after the acl_interface unit test.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 4 Oct 2022 14:59:10 +0000 (16:59 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Tue, 4 Oct 2022 14:59:10 +0000 (16:59 +0200)
doc/Changelog
testdata/acl_interface.tdir/acl_interface.dsc
testdata/acl_interface.tdir/acl_interface.post [new file with mode: 0644]

index b007a168e83955d0efa7388255343d2db0438c9c..24b17b50668c4d84ddd1e4a9203888516ec8bbd5 100644 (file)
@@ -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
index 3e5e94de8b7a76ff61122ea5d5d6bd8c0bfd4295..cfe5c3cf56c8e896ba21d2b8a3a93156fedb7dd3 100644 (file)
@@ -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 (file)
index 0000000..982e2b8
--- /dev/null
@@ -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