[Libosinfo] [libosinfo PATCH 0/2] Add osinfo_product_get_short_id_list() & tests

Fabiano Fidêncio fidencio at redhat.com
Mon Apr 29 08:51:38 UTC 2019


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

-- 
2.21.0




More information about the Libosinfo mailing list