[libvirt] [PATCH 01/24] tests: hostdev: Remove magic numbers

Laine Stump laine at laine.org
Mon Mar 7 18:15:47 UTC 2016


On 03/07/2016 12:24 PM, Andrea Bolognani wrote:
> When checking the number of devices added to a device list, use the
> nhostdevs variable instead of its value, so that the test can keep
> working even if more hostdevs are added.
> ---
>   tests/virhostdevtest.c | 14 +++++++-------
>   1 file changed, 7 insertions(+), 7 deletions(-)

ACK.




More information about the libvir-list mailing list