]> git.proxmox.com Git - mirror_qemu.git/commit - tests/qom-test.c
qom-test: Test qom-list on link<> properties
authorCole Robinson <crobinso@redhat.com>
Fri, 11 Apr 2014 22:07:12 +0000 (18:07 -0400)
committerAndreas Färber <afaerber@suse.de>
Wed, 28 May 2014 15:35:01 +0000 (17:35 +0200)
commit0380aef323154205a7d838fb9953423621290d41
treee8c472d466da5aa1345f2f4b446b8fecb96cc621
parent3ee933c9d4869891a5614fba4815a3857dc3ef8f
qom-test: Test qom-list on link<> properties

But don't test their properties, otherwise we will recurse forever.
Their properties are already tested when we encounter them as child<>
properties elsewhere in the hierarchy, like /machine/unattached/...

This would have caught the crash fixed by 92b3eead.

Signed-off-by: Cole Robinson <crobinso@redhat.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
tests/qom-test.c