mirror of
https://github.com/open5gs/open5gs.git
synced 2026-05-05 15:24:14 +00:00
configuration is updated
This commit is contained in:
parent
85f6bd6826
commit
989de209d0
6 changed files with 572 additions and 289 deletions
|
|
@ -417,6 +417,24 @@ static void sock_test7(abts_case *tc, void *data)
|
|||
sock_remove_all_nodes(&list6);
|
||||
}
|
||||
|
||||
static void sock_test8(abts_case *tc, void *data)
|
||||
{
|
||||
status_t rv;
|
||||
ipsubnet_t ipsub;
|
||||
|
||||
rv = core_ipsubnet(&ipsub, "127.0.0.1", "8");
|
||||
ABTS_INT_EQUAL(tc, CORE_OK, rv);
|
||||
|
||||
rv = core_ipsubnet(&ipsub, "fe80::1", "64");
|
||||
ABTS_INT_EQUAL(tc, CORE_OK, rv);
|
||||
|
||||
rv = core_ipsubnet(&ipsub, "172.16.0.1", "16");
|
||||
ABTS_INT_EQUAL(tc, CORE_OK, rv);
|
||||
|
||||
rv = core_ipsubnet(&ipsub, "cafe::1", "64");
|
||||
ABTS_INT_EQUAL(tc, CORE_OK, rv);
|
||||
}
|
||||
|
||||
abts_suite *testsock(abts_suite *suite)
|
||||
{
|
||||
suite = ADD_SUITE(suite)
|
||||
|
|
@ -428,6 +446,7 @@ abts_suite *testsock(abts_suite *suite)
|
|||
abts_run_test(suite, sock_test5, NULL);
|
||||
abts_run_test(suite, sock_test6, NULL);
|
||||
abts_run_test(suite, sock_test7, NULL);
|
||||
abts_run_test(suite, sock_test8, NULL);
|
||||
|
||||
return suite;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue