about summary refs log tree commit diff
path: root/src/settings/plugins/ifcfg-rh/tests
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2018-09-15 01:05:35 +0200
committerMichael Biebl <biebl@debian.org>2018-09-15 01:05:35 +0200
commitd1148fc0e24d30260606f292db3bb21ba9a6adc5 (patch)
tree5f2251e1da11451b72c9dedbe629e3a90ec5bf13 /src/settings/plugins/ifcfg-rh/tests
parentffe03e75298bcd15849e314c8233cb9b696d59a3 (diff)
parentc240974325c552cad177c457d6ff04e381fd77a3 (diff)
Update upstream source from tag 'upstream/1.14.0'
Update to upstream version '1.14.0'
with Debian dir a85bbd526d758f044876cc0acaa7be950ec06fae
Diffstat (limited to 'src/settings/plugins/ifcfg-rh/tests')
-rw-r--r--src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c b/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c
index 70693861..0c0dd64e 100644
--- a/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c
+++ b/src/settings/plugins/ifcfg-rh/tests/test-ifcfg-rh.c
@@ -9721,7 +9721,7 @@ test_sriov_read (void)
 
 	g_assert_cmpstr (nm_connection_get_interface_name (connection), ==, "eth0");
 
-	s_sriov = nm_connection_get_setting_sriov (connection);
+	s_sriov = NM_SETTING_SRIOV (nm_connection_get_setting (connection, NM_TYPE_SETTING_SRIOV));
 	g_assert (s_sriov);
 
 	g_assert_cmpint (nm_setting_sriov_get_total_vfs (s_sriov), ==, 16);