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

Fabiano Fidêncio fabiano at fidencio.org
Tue Jan 22 19:28:16 UTC 2019


osinfo_os_get_recommended_resources -> osinfo_os_get_maximum_resources

Signed-off-by: Fabiano Fidêncio <fabiano at fidencio.org>
---
 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




More information about the Libosinfo mailing list