]> xenbits.xensource.com Git - libvirt.git/commit
test_driver: implement virDomainSendProcessSignal
authorIlias Stamatis <stamatis.iliass@gmail.com>
Tue, 4 Jun 2019 13:17:43 +0000 (15:17 +0200)
committerErik Skultety <eskultet@redhat.com>
Wed, 19 Jun 2019 13:13:39 +0000 (15:13 +0200)
commit4a6ee53581b3735a6231b52148eef07028a3fdd1
tree05222180e92ce2cc22a47c6d745b3ae43efcc1a3
parentfbed24210e61d6c9d9d0f3046f7e9ff6297e385e
test_driver: implement virDomainSendProcessSignal

Only succeed when @pid_value is 1, since according to the docs this is
the minimum requirement for any driver to implement this API.
Since this is test driver, we assume that any signal from the supported
list can be sent to pid 1 and we therefore succeed every time.

Signed-off-by: Ilias Stamatis <stamatis.iliass@gmail.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
src/test/test_driver.c [changed mode: 0644->0755]