]> git.ipfire.org Git - thirdparty/libvirt.git/commit
test_driver: Introduce testDomainObjCheckTaint
authorLuke Yue <lukedyue@gmail.com>
Mon, 12 Jul 2021 11:32:16 +0000 (19:32 +0800)
committerMartin Kletzander <mkletzan@redhat.com>
Tue, 3 Aug 2021 12:22:10 +0000 (14:22 +0200)
commit7c399a9b0e22d16accffa6ea69afbe50303f825b
tree1d8600a4bb7bbaf235f98e7323e14a5fc2af6e9f
parent68095b835f7c3783a5ec53c1a97554469bdf480c
test_driver: Introduce testDomainObjCheckTaint

In order to test the virDomainGetMessages for test driver, we need to
check some taints or deprecations, so introduce testDomainObjCheckTaint
for checking taints.

As we introduced testDomainObjCheckTaint for test driver, the `dominfo`
command in virshtest will now print tainting messages, so add them for
test.

Signed-off-by: Luke Yue <lukedyue@gmail.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/test/test_driver.c
tests/virshtest.c