forked from acouzens/open5gs
Fixed MacOSX Test code
This commit is contained in:
parent
cede8ff83c
commit
cb8c87f996
|
@ -200,7 +200,9 @@ static void test4_main(void *data)
|
|||
|
||||
size = ogs_sctp_recvdata(sctp, str, STRLEN, NULL, &sinfo);
|
||||
ABTS_INT_EQUAL(tc, strlen(DATASTR), size);
|
||||
#if !HAVE_USRSCTP
|
||||
ABTS_INT_EQUAL(tc, PPID, sinfo.ppid);
|
||||
#endif
|
||||
|
||||
ogs_sctp_destroy(sctp);
|
||||
|
||||
|
@ -274,7 +276,9 @@ static void test5_main(void *data)
|
|||
size = ogs_sctp_recvdata(sctp, str, STRLEN, &from, &sinfo);
|
||||
ABTS_INT_EQUAL(tc, strlen(DATASTR), size);
|
||||
ABTS_STR_EQUAL(tc, "::1", OGS_ADDR(&from, buf));
|
||||
#if !HAVE_USRSCTP
|
||||
ABTS_INT_EQUAL(tc, PPID, sinfo.ppid);
|
||||
#endif
|
||||
|
||||
ogs_sctp_destroy(sctp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue