msc_vlr_tests: better err logging for dtap msgs

Change-Id: I3edd90be40555dd648e9f16db5b6040665a19a95
This commit is contained in:
Neels Hofmeyr 2019-10-21 06:00:35 +02:00
parent b455205783
commit e0f906c42c
1 changed files with 3 additions and 1 deletions

View File

@ -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");