Let's add one more simple check for gvir_config_domain_os_get_machine().

Signed-off-by: Fabiano Fidêncio <fiden...@redhat.com>
---
 tests/test-gconfig.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/test-gconfig.c b/tests/test-gconfig.c
index 6cd36d1..b707325 100644
--- a/tests/test-gconfig.c
+++ b/tests/test-gconfig.c
@@ -235,6 +235,7 @@ static void test_domain_os(void)
     g_assert(os != NULL);
     g_assert_cmpstr(gvir_config_domain_os_get_arch(os), ==, "x86_64");
     g_assert_cmpint(gvir_config_domain_os_get_os_type(os), ==, 
GVIR_CONFIG_DOMAIN_OS_TYPE_HVM);
+    g_assert_cmpstr(gvir_config_domain_os_get_machine(os), ==, "q35");
     g_assert_cmpint(gvir_config_domain_os_get_firmware(os), ==, 
GVIR_CONFIG_DOMAIN_OS_FIRMWARE_EFI);
     domain_os_check_boot_devices(os);
     g_object_unref(G_OBJECT(os));
-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to