qom: Add a test case for complex property finalization
commit8c4d156c187c84b574d287bd4b9ddf9a6975de7c
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 16 Nov 2015 15:37:34 +0000 (16 15:37 +0000)
committerAndreas Färber <afaerber@suse.de>
Wed, 18 Nov 2015 20:13:49 +0000 (18 21:13 +0100)
treefc38174161817280da6f4e42905a011e389481e3
parent456fb0bfe0b27c54d316be7fe3b362247f732656
qom: Add a test case for complex property finalization

Devices have some quite complex object child/link relationships
which place some requirements on the object_property_del_all()
function to consider that properties can be modified while
being iterated over.

This extends the QOM property test case to replicate the
device like structure and expose any potential bugs in the
object_property_del_all() function.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
tests/check-qom-proplist.c