]> xenbits.xensource.com Git - libvirt.git/commit
virhostdevtest: Don't proceed to test cases if init failed
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 14 Jun 2019 08:39:24 +0000 (10:39 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 6 Aug 2019 09:20:39 +0000 (11:20 +0200)
commitd2899a648543402b5bf44531fc2e9d5a835eaa5e
tree905ab434ab55677290a72ed7d83b805ccae6f977
parent22fc83df92b36e1ca51235212ab6f36ad5059daa
virhostdevtest: Don't proceed to test cases if init failed

The myInit() function is called before any of the test cases
because it prepares all internal structures for individual cases.
Well, if it fails there's no point in proceeding with testing.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
ACKed-by: Peter Krempa <pkrempa@redhat.com>
tests/virhostdevtest.c