[Libosinfo] [libosinfo PATCH v2 1/2] test-os-resources: Fix typo in test_minimum_recommended_resources()
Felipe Borges
felipe10borges at gmail.com
Fri Nov 16 10:59:18 UTC 2018
On Tue, Nov 13, 2018 at 12:34 PM Fabiano Fidêncio <fidencio at redhat.com> wrote:
>
> Thanks to this typo the test was iterating over a single OS, always.
>
> Signed-off-by: Fabiano Fidêncio <fidencio at redhat.com>
> ---
> 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;
Ops! Lgtm
Reviewed-by: Felipe Borges <feborges at redhat.com>
More information about the Libosinfo
mailing list