diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2019-10-21 06:00:35 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-11-28 02:52:55 +0100 |
commit | e0f906c42cb1168195576a42a792daeb961d6a43 (patch) | |
tree | b62e676a7f63723daeb9e1f9d79b0e83ace87bda /tests | |
parent | b4552057830f05b58ec0e6c5cf8e0d26f2f5e746 (diff) |
msc_vlr_tests: better err logging for dtap msgs
Change-Id: I3edd90be40555dd648e9f16db5b6040665a19a95
Diffstat (limited to 'tests')
-rw-r--r-- | tests/msc_vlr/msc_vlr_tests.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/msc_vlr/msc_vlr_tests.c b/tests/msc_vlr/msc_vlr_tests.c index de4913a87..e00c3379a 100644 --- a/tests/msc_vlr/msc_vlr_tests.c +++ b/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"); |