lldp: add test coverage for sd_lldp_get_neighbors() with multiple neighbors
authorFilipe Brandenburger <filbranden@google.com>
Thu, 6 Dec 2018 07:58:58 +0000 (23:58 -0800)
committerFilipe Brandenburger <filbranden@google.com>
Fri, 14 Dec 2018 17:18:01 +0000 (09:18 -0800)
commitdd102e4d0c6551e9d39c3bdb6715eceea57c8761
tree39cde81215ca5893570144c48ca8c675747defde
parent09818a88935419623ea83975144973fab3601625
lldp: add test coverage for sd_lldp_get_neighbors() with multiple neighbors

In particular, check that the order of the results is consistent.

This test coverage will be useful in order to refactor the compare_func
used while sorting the results.

Tested: ninja -C build/ test
src/libsystemd-network/test-lldp.c