[Libosinfo] [libosinfo PATCH 0/2] Add osinfo_product_get_short_id_list() & tests
Cole Robinson
crobinso at redhat.com
Tue Apr 30 19:28:11 UTC 2019
On 4/29/19 4:51 AM, Fabiano Fidêncio wrote:
> As multiple short-ids are now fully supported, let's also add a new API
> for retrieving the short-id list from a product (and tests for this).
>
> This patchset has been built atop of
> https://www.redhat.com/archives/libosinfo/2019-April/msg00198.html
>
> Fabiano Fidêncio (2):
> product: Add osinfo_product_get_short_id_list() API
> tests: Add tests for multiple short-ids
>
> osinfo/libosinfo.syms | 2 ++
> osinfo/osinfo_product.c | 14 ++++++++
> osinfo/osinfo_product.h | 1 +
> .../test-os-multipleshortids.xml | 13 ++++++++
> tests/test-os.c | 32 +++++++++++++++++++
> 5 files changed, 62 insertions(+)
> create mode 100644 tests/dbdata/os/libosinfo.org/test-os-multipleshortids.xml
>
Reviewed-by: Cole Robinson <crobinso at redhat.com>
Combined with the other patch the API works well with the python gi bindings
Thanks,
Cole
More information about the Libosinfo
mailing list