]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virnetdevbandwidthtest: Introduce some more tests
authorMichal Privoznik <mprivozn@redhat.com>
Fri, 31 Jan 2014 14:04:03 +0000 (15:04 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 31 Jan 2014 15:52:27 +0000 (16:52 +0100)
commite60b36cb0d251a16ce9da67a0f7bdb720e540e7f
treefd2ab133d61e26215359ca1a4d49c498d29f0c1e
parentd01596a0d36ebf15140f44239fe35adddcaca7ab
virnetdevbandwidthtest: Introduce some more tests

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: Michal Privoznik <mprivozn@redhat.com>
tests/virnetdevbandwidthtest.c