From 8be06bc2885460d6a6ed7c9daa7df8ab8f02a2dc Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 8 May 2011 09:45:10 +0200 Subject: tests: update to libosmocore namespace prefix (osmo_) --- tests/m2ua/m2ua_test.c | 4 ++-- tests/sccp/sccp_test.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') diff --git a/tests/m2ua/m2ua_test.c b/tests/m2ua/m2ua_test.c index f2294fa..078a7c1 100644 --- a/tests/m2ua/m2ua_test.c +++ b/tests/m2ua/m2ua_test.c @@ -57,7 +57,7 @@ static void test_asp_up() } if (memcmp(msg->data, asp_up, msg->len) != 0) { - printf("Got '%s'\n", hexdump(msg->data, msg->len)); + printf("Got '%s'\n", osmo_hexdump(msg->data, msg->len)); FAIL("Wrong memory"); } @@ -85,7 +85,7 @@ static void test_data() } if (memcmp(msg->data, data, msg->len) != 0) { - printf("Got '%s'\n", hexdump(msg->data, msg->len)); + printf("Got '%s'\n", osmo_hexdump(msg->data, msg->len)); FAIL("Wrong memory"); } diff --git a/tests/sccp/sccp_test.c b/tests/sccp/sccp_test.c index beb6502..4705c6d 100644 --- a/tests/sccp/sccp_test.c +++ b/tests/sccp/sccp_test.c @@ -874,7 +874,7 @@ static void test_sccp_parsing(void) result.called.gti_data, result.called.gti_len) != 0) { FAIL("GTI data is wrong: %d '%s'\n", result.called.gti_len, - hexdump(result.called.gti_data, result.called.gti_len)); + osmo_hexdump(result.called.gti_data, result.called.gti_len)); } if (memcmp(&parse_result[current_test].src_gti_data[0], @@ -962,7 +962,7 @@ static void test_sccp_address() if (memcmp(msg->data, sccp_addr_tst[i].output, ret) != 0) { FAIL("Unexpected data for %d '%s'\n", i, - hexdump(msg->data, ret)); + osmo_hexdump(msg->data, ret)); } } } -- cgit v1.2.3