fix the test program bug

This commit is contained in:
Sukchan Lee 2022-01-04 17:27:28 +09:00
parent b988e7edce
commit b6de06ee01
4 changed files with 9 additions and 6 deletions

View File

@ -223,7 +223,7 @@ to support IPv6. This is done by setting the `diable_ipv6` option for
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
1
$ sudo -w net.ipv6.conf.ogstun.disable_ipv6=0
$ sudo sysctl -w net.ipv6.conf.ogstun.disable_ipv6=0
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
0

View File

@ -39,7 +39,7 @@ Then, to support IPv6-enabled UEs, you must configure your TUN device to support
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
1
$ sudo -w net.ipv6.conf.ogstun.disable_ipv6=0
$ sudo -w sysctl net.ipv6.conf.ogstun.disable_ipv6=0
$ sysctl -n net.ipv6.conf.ogstun.disable_ipv6
0

View File

@ -31,6 +31,7 @@ head_inline: "<style> ul { padding-bottom: 1em; } </style>"
- [eNodeBs/gNodeBs tested on Open5GS](hardware/01-genodebs)
- @infinitydon
- [Open5GS on Amazon Elastic Kubernetes Service](https://aws.amazon.com/blogs/opensource/open-source-mobile-core-network-implementation-on-amazon-elastic-kubernetes-service/)
- [Kubernetes Open5GS Deployment](https://dev.to/infinitydon/virtual-4g-simulation-using-kubernetes-and-gns3-3b7k?fbclid=IwAR1p99h13a-mCfejanbBQe0H0-jp5grXkn5mWf1WrTHf47UtegB2-UHGGZQ)
- @nickvsnetworking

View File

@ -193,8 +193,6 @@ static void sbi_message_test2(abts_case *tc, void *data)
item = OpenAPI_nf_group_cond_convertToJSON(nf_group_cond1);
ABTS_PTR_NOTNULL(tc, item);
ogs_free(nf_group_cond1);
#if 0
{
char *str = cJSON_Print(item);
@ -208,7 +206,10 @@ static void sbi_message_test2(abts_case *tc, void *data)
ABTS_STR_EQUAL(tc,
nf_group_cond1->nf_group_id, nf_group_cond2->nf_group_id);
ABTS_INT_EQUAL(tc, OpenAPI_nf_group_cond_NFTYPE_UDR, nf_group_cond2->nf_type);
ogs_free(nf_group_cond1);
ABTS_INT_EQUAL(tc,
OpenAPI_nf_group_cond_NFTYPE_UDR, nf_group_cond2->nf_type);
cJSON_Delete(item);
@ -599,7 +600,6 @@ static void sbi_message_test6(abts_case *tc, void *data)
cJSON_Delete(item);
item = OpenAPI_smf_selection_subscription_data_convertToJSON(r1);
OpenAPI_smf_selection_subscription_data_free(r1);
SubscribedSnssaiInfoList = r1->subscribed_snssai_infos;
OpenAPI_list_for_each(SubscribedSnssaiInfoList, node) {
@ -612,6 +612,8 @@ static void sbi_message_test6(abts_case *tc, void *data)
}
}
OpenAPI_smf_selection_subscription_data_free(r1);
content = cJSON_Print(item);
cJSON_Delete(item);
ogs_assert(content);