]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: Use domaincapsmock in qemucapabilitiestest
authorAndrea Bolognani <abologna@redhat.com>
Tue, 9 Aug 2022 16:10:27 +0000 (18:10 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Wed, 10 Aug 2022 15:49:30 +0000 (17:49 +0200)
This doesn't change anything at the moment, but is necessary
for the upcoming fix.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Christophe de Dinechin <dinechin@redhat.com>
Tested-by: Christophe de Dinechin <dinechin@redhat.com>
tests/qemucapabilitiestest.c

index 79dd358ef46d7ab03167509bab5be0e135c01fab..0066ba15fab67a1d4abba3b8dd9dc77b0f4eda66 100644 (file)
@@ -230,4 +230,5 @@ mymain(void)
     return (data.ret == 0) ? EXIT_SUCCESS : EXIT_FAILURE;
 }
 
-VIR_TEST_MAIN(mymain)
+VIR_TEST_MAIN_PRELOAD(mymain,
+                      VIR_TEST_MOCK("domaincaps"))