diff options
Diffstat (limited to 'openbsc/tests/gbproxy/gbproxy_test.c')
-rw-r--r-- | openbsc/tests/gbproxy/gbproxy_test.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsc/tests/gbproxy/gbproxy_test.c b/openbsc/tests/gbproxy/gbproxy_test.c index cfbe68859..a818a1259 100644 --- a/openbsc/tests/gbproxy/gbproxy_test.c +++ b/openbsc/tests/gbproxy/gbproxy_test.c @@ -2895,9 +2895,10 @@ static void test_gbproxy_keep_info() dump_peers(stdout, 0, 0, &gbcfg); - /* TODO: This should have de-registered the TLLI which it did not. Add - * assertions when this is fixed. - */ + OSMO_ASSERT(!gbproxy_find_tlli(peer, local_tlli)); + tlli_info = gbproxy_find_tlli_by_imsi(peer, imsi, sizeof(imsi)); + OSMO_ASSERT(tlli_info); + OSMO_ASSERT(tlli_info->is_deregistered); /* Bad case: Re-Attach with wrong (initial) P-TMSI */ send_llc_ul_ui(nsi, "ATTACH REQUEST", &bss_peer[0], 0x1002, |