On 5/29/19 8:15 AM, Fabiano Fidêncio wrote: > This series fixes the infinite loop caused by a typo in openbsd-6.3 > entry and also adds a test avoiding this issue to happen in the future. > > Fabiano Fidêncio (2): > openbsd-6.3: Fix derives-from > tests: Add test_related > > data/os/openbsd.org/openbsd-6.3.xml.in | 2 +- > tests/test_related.py | 12 ++++++++++++ > tests/util.py | 5 ++++- > 3 files changed, 17 insertions(+), 2 deletions(-) > create mode 100644 tests/test_related.py > Reviewed-by: Cole Robinson <crobinso@xxxxxxxxxx> Ideas for future test improvements: * Check all references in the chain, there could be circular references. Maybe just try to resolve them all and a hanging test will make it clear something is wrong, or python will throw a recursion error. * validate the referenced id is valid (which libosinfo will assert on but we could catch it earlier here) - Cole _______________________________________________ Libosinfo mailing list Libosinfo@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libosinfo