[Libosinfo] [libosinfo PATCH 0/3] A few fixes related to treeinfo and tree detection
Fabiano Fidêncio
fabiano at fidencio.org
Sun Dec 2 15:37:56 UTC 2018
The first two patches basically are fixing the load of treeinfo
attributes and then adding a test to ensure we don't regress on this
anymore.
The last patch improves _guess_os_from_tree() in order to avoid
matching any OS that doesn't have the treeinfo set.
Fabiano Fidêncio (3):
loader: properly load the treeinfo attributes
test-os: expand test_loader() to cover loading treeinfo
db: improve _guess_os_from_tree checks
osinfo/osinfo_db.c | 3 +++
osinfo/osinfo_loader.c | 8 ++++----
tests/dbdata/os/fedoraproject.org/fedora-16.xml | 9 +++++++++
tests/test-os.c | 18 ++++++++++++++++++
4 files changed, 34 insertions(+), 4 deletions(-)
--
1.8.3.1
More information about the Libosinfo
mailing list