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);
|
zmq_recv(facilities_socket, &code, 1, 0);
|
||||||
if (code) {
|
if (code) {
|
||||||
printf(" FAIL\n");
|
printf(" FAIL\n");
|
||||||
|
fflush(stdout);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf(" - Sent CAM BDI (%ldB)\n", bdi->data.size);
|
printf(" - Sent CAM BDI (%ldB)\n", bdi->data.size);
|
||||||
|
fflush(stdout);
|
||||||
|
|
||||||
void* applications_socket = zmq_socket(ctx, ZMQ_REP);
|
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);
|
asn_dec_rval_t dec = asn_decode(NULL, ATS_CANONICAL_OER, &asn_DEF_FacilitiesDataIndication, (void**) &fdi, buffer+1, 2047);
|
||||||
if (dec.code) {
|
if (dec.code) {
|
||||||
printf(" FAIL\n");
|
printf(" FAIL\n");
|
||||||
|
fflush(stdout);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
printf(" - Received CAM FDI (%ldB)\n", fdi->data.size);
|
printf(" - Received CAM FDI (%ldB)\n", fdi->data.size);
|
||||||
|
fflush(stdout);
|
||||||
|
|
||||||
if (fdi->data.size == bdi->data.size) {
|
if (fdi->data.size == bdi->data.size) {
|
||||||
printf(" OK\n");
|
printf(" OK\n");
|
||||||
|
fflush(stdout);
|
||||||
} else {
|
} else {
|
||||||
printf(" FAIL\n");
|
printf(" FAIL\n");
|
||||||
|
fflush(stdout);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue