mirror of
https://github.com/open5gs/open5gs.git
synced 2025-11-01 12:33:41 +00:00
Fixed MacOSX Test code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user