]> git.ipfire.org Git - thirdparty/libvirt.git/commit
objecteventtest: Check for virNetwork* return values
authorMichal Privoznik <mprivozn@redhat.com>
Mon, 16 Mar 2015 15:01:45 +0000 (16:01 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 23 Mar 2015 08:56:15 +0000 (09:56 +0100)
commitcbbb9baaf241f391f3299d7813e16ddd5eaf8d7d
tree41a75e21f2be057d00d64197a987591e5a4a2672
parentdd7bfb2cdc5deafa1000326d4ed0d42b81b4a3c2
objecteventtest: Check for virNetwork* return values

Lets not give a bad example and check for return values of
virNetwork* APIs called within the test. Even though it's
unlikely that any API will fail, it can happen. We're connected
to the test driver after all, and our API sequence is correct. So
test driver should fail only in case of bug or OOM.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tests/objecteventtest.c