summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ospf6d/test_lsdb.c5
-rw-r--r--tests/topotests/pytest.ini2
2 files changed, 4 insertions, 3 deletions
diff --git a/tests/ospf6d/test_lsdb.c b/tests/ospf6d/test_lsdb.c
index 24821febe6..c5bdcd3d13 100644
--- a/tests/ospf6d/test_lsdb.c
+++ b/tests/ospf6d/test_lsdb.c
@@ -134,9 +134,10 @@ DEFPY(lsdb_walk, lsdb_walk_cmd,
"LSDB\n"
"walk entries\n")
{
- struct ospf6_lsa *lsa;
+ struct ospf6_lsa *lsa, *lsanext;
+
unsigned cnt = 0;
- for (ALL_LSDB(lsdb, lsa)) {
+ for (ALL_LSDB(lsdb, lsa, lsanext)) {
lsa_show_oneline(vty, lsa);
cnt++;
}
diff --git a/tests/topotests/pytest.ini b/tests/topotests/pytest.ini
index 2e9c4901bc..6e8e749092 100644
--- a/tests/topotests/pytest.ini
+++ b/tests/topotests/pytest.ini
@@ -1,6 +1,6 @@
# Skip pytests example directory
[pytest]
-norecursedirs = .git example-test example-topojson-test lib docker evpn_type5_test_topo1
+norecursedirs = .git example-test example-topojson-test lib docker
[topogen]
# Default configuration values