Thanks to this typo the test was iterating over a single OS, always. Signed-off-by: Fabiano Fidêncio <fidencio@xxxxxxxxxx> --- tests/test-os-resources.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-os-resources.c b/tests/test-os-resources.c index fe16b72..a8a9018 100644 --- a/tests/test-os-resources.c +++ b/tests/test-os-resources.c @@ -91,7 +91,7 @@ test_minimum_recommended_resources(void) oses = osinfo_list_get_elements(OSINFO_LIST(oslist)); for (oses_it = oses; oses_it != NULL; oses_it = oses_it->next) { - OsinfoOs *os = oses->data; + OsinfoOs *os = oses_it->data; OsinfoResourcesList *minimum_list, *recommended_list; GList *minimum_resources, *recommended_resources; GList *resources_it; -- 2.19.1 _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo