[libosinfo PATCH 07/11] test-os: Fix typo in resources tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



osinfo_os_get_recommended_resources -> osinfo_os_get_maximum_resources

Signed-off-by: Fabiano Fidêncio <fabiano@xxxxxxxxxxxx>
---
 tests/test-os.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test-os.c b/tests/test-os.c
index 45598bb..1c13c56 100644
--- a/tests/test-os.c
+++ b/tests/test-os.c
@@ -334,7 +334,7 @@ test_resources_minimum_recommended_maximum(void)
 
         minimum_list = osinfo_os_get_minimum_resources(os);
         recommended_list = osinfo_os_get_recommended_resources(os);
-        maximum_list = osinfo_os_get_recommended_resources(os);
+        maximum_list = osinfo_os_get_maximum_resources(os);
 
         if (osinfo_list_get_length(OSINFO_LIST(minimum_list)) > 0 &&
             osinfo_list_get_length(OSINFO_LIST(recommended_list)) > 0)
-- 
1.8.3.1

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux