[libvirt] [PATCH v3 07/20] tests: Improve result handling in cpuTestGuestData()

Jiri Denemark jdenemar at redhat.com
Tue Aug 11 06:29:49 UTC 2015


On Mon, Aug 10, 2015 at 10:55:49 +0200, Andrea Bolognani wrote:
> A test is considered successful if the obtained result matches
> the expected result: if that's not the case, whether because a
> test that was expected to succeed failed or because a test that
> was supposed to fail succeeded, then something's not right and
> we want the user to know about this.
> 
> On the other hand, if a failure that's unrelated to the bits
> we're testing occurs, then the user should be notified even if
> the test was expected to fail.
> 
> Use different values to tell these two situations apart.
> 
> Fix a test case that was wrongly expected to fail as well.

ACK

Jirka




More information about the libvir-list mailing list