summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/ss7/ss7_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/ss7/ss7_test.c b/tests/ss7/ss7_test.c
index 24eabc9..e36e068 100644
--- a/tests/ss7/ss7_test.c
+++ b/tests/ss7/ss7_test.c
@@ -235,6 +235,7 @@ static void test_as(void)
OSMO_ASSERT(osmo_ss7_as_find_by_name(s7i, "as1") == NULL);
as = osmo_ss7_as_find_or_create(s7i, "as1", OSMO_SS7_ASP_PROT_M3UA);
+ OSMO_ASSERT(as);
OSMO_ASSERT(osmo_ss7_as_find_by_name(s7i, "as1") == as);
OSMO_ASSERT(osmo_ss7_as_find_by_rctx(s7i, 2342) == NULL);
as->cfg.routing_key.context = 2342;