[libvirt] [PATCH 12/23] cputest: Print correct feature in virCPUUpdateLive test

John Ferlan jferlan at redhat.com
Thu Oct 12 20:19:16 UTC 2017



On 10/04/2017 10:58 AM, Jiri Denemark wrote:
> If the actual result does not match our expectation, the tests would
> not correctly show the difference if a CPU feature is disabled in the
> expected result and the actual result does not mention it at all. The
> test could complain about an unrelated CPU feature or it could even
> crash in case the actual result contains no more features to go through.
> 
> Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
> ---
>  tests/cputest.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

I recognize this - it was something I noted at one time from a Coverity
test failure...

Reviewed-by: John Ferlan <jferlan at redhat.com>

John




More information about the libvir-list mailing list