tests: Use the new DO_TEST_CAPS_*() macros
tests: Use the new DO_TEST_CAPS_*() macros

There are probably more situations where they could be taken
advantage of, but these are very obvious scenarios because we
either manage to get rid of a bunch of explicit capabilities,
or we make a bunch of related test cases all use the macros
by switching the only odd one out.

Signed-off-by: Andrea Bolognani <3ada0bee826c753786fdbba72243dfba997094cf@redhat.com>
Reviewed-by: Ján Tomko <4cab11cfb98d3c937327354a78eb07dbb6ee2bc6@redhat.com>

jardasgit/libvirt,jfehlig/libvirt,nertpinx/libvirt,nertpinx/libvirt,eskultety/libvirt,crobinso/libvirt,jfehlig/libvirt,libvirt/libvirt,crobinso/libvirt,nertpinx/libvirt,jfehlig/libvirt,libvirt/libvirt,libvirt/libvirt,olafhering/libvirt,olafhering/libvirt,andreabolognani/libvirt,eskultety/libvirt,jardasgit/libvirt,crobinso/libvirt,nertpinx/libvirt,olafhering/libvirt,zippy2/libvirt,fabianfreyer/libvirt,olafhering/libvirt,jardasgit/libvirt,fabianfreyer/libvirt,libvirt/libvirt,fabianfreyer/libvirt,jardasgit/libvirt,andreabolognani/libvirt,jardasgit/libvirt,andreabolognani/libvirt,fabianfreyer/libvirt,eskultety/libvirt,nertpinx/libvirt,eskultety/libvirt,zippy2/libvirt,zippy2/libvirt,eskultety/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,zippy2/libvirt,andreabolognani/libvirt,jfehlig/libvirt,crobinso/libvirt