]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-execute.c
test-execute: fix killing of unit processes
authorLennart Poettering <lennart@poettering.net>
Mon, 19 Nov 2018 12:05:43 +0000 (13:05 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 19 Nov 2018 20:53:23 +0000 (21:53 +0100)
commit1acacd737b2a831e7cce4049d42df254718a4543
tree53f969ce0d0200fa909e3515474bb38b0f902018
parentf7f00fb15b3caff66112d77f1c60f78888235cec
test-execute: fix killing of unit processes

Let's use the correct wrapper for calling unit vtable functions. Let's
make sure we always use the right wrappers, and never bypass them
needlessly.

Moreover use SIGKILL rather than "9" as signal name. Let's not be
needlessly cryptic.

Follow-up for: f7f8e8cbb953686c520969a66a9718675a972af5
src/test/test-execute.c