Re: [libvirt] [PATCH 8/9] virhostdevtest: Reset libvirt error on expected failure

2019-08-26 Thread Ján Tomko
On Mon, Aug 12, 2019 at 01:54:24PM +0200, Michal Privoznik wrote: If a libvirt error occurred during a test, then virTestRun() reports it (regardless of test returning success or failure). For instance, in this specific case, a hostdev is detached twice and the second attempt is expected to fail.

[libvirt] [PATCH 8/9] virhostdevtest: Reset libvirt error on expected failure

2019-08-12 Thread Michal Privoznik
If a libvirt error occurred during a test, then virTestRun() reports it (regardless of test returning success or failure). For instance, in this specific case, a hostdev is detached twice and the second attempt is expected to fail. It does fail and libvirt error is reported which is then printed on