]> xenbits.xensource.com Git - libvirt.git/commit
test: Remove possible infinite loop in virnetsockettest
authorJohn Ferlan <jferlan@redhat.com>
Fri, 7 Sep 2018 12:20:15 +0000 (08:20 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 11 Sep 2018 14:47:20 +0000 (10:47 -0400)
commita0ba31c0069e89f178f064e724ddbc8540b64d32
tree970df69f1dcb42ae56efe2c07a9ac2ecc3aefed9
parent9ed175fbc2deecfdaeabca7bc77c7e7ae33a3377
test: Remove possible infinite loop in virnetsockettest

Commit 39015a6f3 modified the test to be more reliable/realistic,
but without checking the return status of virEventRunDefaultImpl
it's possible that the test could run infinitely.

Found by Coverity

Signed-off-by: John Ferlan <jferlan@redhat.com>
ACKed-by: Michal Privoznik <mprivozn@redhat.com>
tests/virnetsockettest.c