diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-26 18:17:02 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-26 18:17:28 +0100 |
commit | 2ae23e4b028c687d460d7aecc4a27652dfdecfdf (patch) | |
tree | 16be4d9ca2ceb3250f9826031388373ea9cb06d8 /tests | |
parent | 039c7adcd5af78ebe93e82df26c2ceaaa9071517 (diff) |
sccp: Print the wrong data so one can compare it.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/sccp/sccp_test.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/sccp/sccp_test.c b/tests/sccp/sccp_test.c index 8ef223e..601856a 100644 --- a/tests/sccp/sccp_test.c +++ b/tests/sccp/sccp_test.c @@ -961,7 +961,8 @@ static void test_sccp_address() } if (memcmp(msg->data, sccp_addr_tst[i].output, ret) != 0) { - FAIL("Unexpected data for %d\n", i); + FAIL("Unexpected data for %d '%s'\n", i, + hexdump(msg->data, ret)); } } } |