]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
tests: improve process cleanup after config tests
authorPetr Špaček <petr.spacek@nic.cz>
Tue, 13 Oct 2020 10:53:07 +0000 (12:53 +0200)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 26 Oct 2020 13:25:13 +0000 (14:25 +0100)
commit677aa078d7a97c4b83bb95feeecd0d073b333552
tree359afa3b4f15ada90aa3cface4a66591b5dcc99e
parent6e7a79a8b996981b97774093203869c93d25220a
tests: improve process cleanup after config tests

Previously exit trap executed command "kill -9" even if there were no
leftover processes and this lead to clutter in logs because kill
complained about missing arguments.

As a bonus the cleanup routine now prints information about leftover
processes.
scripts/test-config.sh