Test CI
This commit is contained in:
parent
38172aa7a0
commit
87ba3e53ac
|
|
@ -198,9 +198,11 @@ int forward_up(void* ctx) {
|
|||
zmq_recv(facilities_socket, &code, 1, 0);
|
||||
if (code) {
|
||||
printf(" FAIL\n");
|
||||
fflush(stdout);
|
||||
return 1;
|
||||
}
|
||||
printf(" - Sent CAM BDI (%ldB)\n", bdi->data.size);
|
||||
fflush(stdout);
|
||||
|
||||
void* applications_socket = zmq_socket(ctx, ZMQ_REP);
|
||||
|
||||
|
|
@ -217,14 +219,18 @@ int forward_up(void* ctx) {
|
|||
asn_dec_rval_t dec = asn_decode(NULL, ATS_CANONICAL_OER, &asn_DEF_FacilitiesDataIndication, (void**) &fdi, buffer+1, 2047);
|
||||
if (dec.code) {
|
||||
printf(" FAIL\n");
|
||||
fflush(stdout);
|
||||
return 1;
|
||||
}
|
||||
printf(" - Received CAM FDI (%ldB)\n", fdi->data.size);
|
||||
fflush(stdout);
|
||||
|
||||
if (fdi->data.size == bdi->data.size) {
|
||||
printf(" OK\n");
|
||||
fflush(stdout);
|
||||
} else {
|
||||
printf(" FAIL\n");
|
||||
fflush(stdout);
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue