summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-05-08 09:45:10 +0200
committerHarald Welte <laforge@gnumonks.org>2011-05-08 09:45:10 +0200
commit8be06bc2885460d6a6ed7c9daa7df8ab8f02a2dc (patch)
tree3bb315725665b580c0ee841e24f31450890af21d
parentd35a3079df9501a36062d44b460f3fe2bec20032 (diff)
tests: update to libosmocore namespace prefix (osmo_)0.0.5.1
-rw-r--r--tests/m2ua/m2ua_test.c4
-rw-r--r--tests/sccp/sccp_test.c4
2 files changed, 4 insertions, 4 deletions
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));
}
}
}