From 97ba3968a09fc5182687ebc73b81c75b014ddfd7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Fingen?= Date: Thu, 13 Jul 2017 15:07:12 +0200 Subject: [PATCH] lib, test: Add test case for ALL_NEXTHOPS_RO MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without it, tests were passing before commit 9fb47c0, so a case was missing (the one which that commit fixes). Signed-off-by: ßingen --- tests/lib/test_nexthop_iter.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/lib/test_nexthop_iter.c b/tests/lib/test_nexthop_iter.c index 156249a1cb..18628ec163 100644 --- a/tests/lib/test_nexthop_iter.c +++ b/tests/lib/test_nexthop_iter.c @@ -276,6 +276,9 @@ test_run_first(void) nexthop_chain_add_recursive(nc); nexthop_chain_verify_iter(nc); + nexthop_chain_add_top(nc); + nexthop_chain_verify_iter(nc); + nexthop_chain_free(nc); }