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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
Libosinfo mailing list
Libosinfo@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libosinfo




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux