tests: Use the new DO_TEST_CAPS_*() macros
commit8033b4dec42267de8b263a31bfa74dee9b6c2460
authorAndrea Bolognani <abologna@redhat.com>
Tue, 2 Jul 2019 14:36:55 +0000 (2 16:36 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 3 Jul 2019 08:18:41 +0000 (3 10:18 +0200)
tree86585c348a4292bf82cfb009be3e2b7d7241adbc
parent5a050f019104b0775350f8b5d61694e9466ba303
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 <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2argvtest.c