msc_vlr_tests: better err logging for dtap msgs

Change-Id: I3edd90be40555dd648e9f16db5b6040665a19a95
changes/49/15949/6
Neels Hofmeyr 3 years ago
parent b455205783
commit e0f906c42c
  1. 4
      tests/msc_vlr/msc_vlr_tests.c

@ -254,8 +254,10 @@ static int _validate_dtap(struct msgb *msg, enum osmo_rat_type to_ran)
/* Mask the sequence number out before comparing */
msg->data[1] &= 0x3f;
if (!msgb_eq_data_print(msg, dtap_tx_expected->data, dtap_tx_expected->len))
if (!msgb_eq_data_print(msg, dtap_tx_expected->data, dtap_tx_expected->len)) {
btw("Expected %s", osmo_hexdump(dtap_tx_expected->data, dtap_tx_expected->len));
abort();
}
btw("DTAP matches expected message");

Loading…
Cancel
Save