[libvirt] [PATCH] virnetdevbandwidthtest: Introduce some more tests

2014-01-31 Thread Michal Privoznik
And while doing this, fix one error raised by coverity. With current code, @actual_cmd is allowed to be NULL for the whole run of testVirNetDevBandwidthSet. However, if something else was expected, the @actal_cmd is passed to virtTestDifference which dereference it immediately. Signed-off-by:

Re: [libvirt] [PATCH] virnetdevbandwidthtest: Introduce some more tests

2014-01-31 Thread John Ferlan
On 01/31/2014 09:12 AM, Michal Privoznik wrote: And while doing this, fix one error raised by coverity. With current code, @actual_cmd is allowed to be NULL for the whole run of testVirNetDevBandwidthSet. However, if something else was expected, the @actal_cmd is passed to virtTestDifference

Re: [libvirt] [PATCH] virnetdevbandwidthtest: Introduce some more tests

2014-01-31 Thread Eric Blake
On 01/31/2014 07:12 AM, Michal Privoznik wrote: And while doing this, fix one error raised by coverity. With current code, @actual_cmd is allowed to be NULL for the whole run of testVirNetDevBandwidthSet. However, if something else was expected, the @actal_cmd is passed to virtTestDifference