aboutsummaryrefslogtreecommitdiffstats
path: root/tests/nanobts_omlattr/nanobts_omlattr_test.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@espeweb.net>2020-12-04 14:22:48 +0100
committerPau Espin Pedrol <pespin@espeweb.net>2020-12-04 14:44:43 +0100
commit396eb76fcd64b3e801005a1d8ec32ac53b725d7b (patch)
treeeb10492b0492b93c540a0af76ea6b58f8c58d8f6 /tests/nanobts_omlattr/nanobts_omlattr_test.c
parent10364c899921679931ef5f6c287624a736b64d15 (diff)
Fix typo in function nanobts_attr_nsvc_get
Diffstat (limited to 'tests/nanobts_omlattr/nanobts_omlattr_test.c')
-rw-r--r--tests/nanobts_omlattr/nanobts_omlattr_test.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/nanobts_omlattr/nanobts_omlattr_test.c b/tests/nanobts_omlattr/nanobts_omlattr_test.c
index 6e851380f..73ba86950 100644
--- a/tests/nanobts_omlattr/nanobts_omlattr_test.c
+++ b/tests/nanobts_omlattr/nanobts_omlattr_test.c
@@ -151,13 +151,13 @@ static void test_nanobts_attr_cell_get(struct gsm_bts *bts, uint8_t *expected)
printf("\n");
}
-static void test_nanobts_attr_nscv_get(struct gsm_bts *bts, uint8_t *expected)
+static void test_nanobts_attr_nsvc_get(struct gsm_bts *bts, uint8_t *expected)
{
struct msgb *msgb;
- printf("Testing nanobts_attr_nscv_get()...\n");
+ printf("Testing nanobts_attr_nsvc_get()...\n");
- msgb = nanobts_attr_nscv_get(bts);
+ msgb = nanobts_attr_nsvc_get(bts);
printf("result= %s\n", osmo_hexdump_nospc(msgb->data, msgb->len));
printf("expected=%s\n", osmo_hexdump_nospc(expected, msgb->len));
OSMO_ASSERT(memcmp(msgb->data, expected, msgb->len) == 0);
@@ -173,7 +173,7 @@ static void test_nanobts_attr_radio_get(struct gsm_bts *bts,
{
struct msgb *msgb;
- printf("Testing nanobts_attr_nscv_get()...\n");
+ printf("Testing nanobts_attr_nsvc_get()...\n");
msgb = nanobts_attr_radio_get(bts, trx);
printf("result= %s\n", osmo_hexdump_nospc(msgb->data, msgb->len));
@@ -263,7 +263,7 @@ int main(int argc, char **argv)
0xfa, 0x00, 0xfa, 0x02
};
- /* Parameters needed to test nanobts_attr_nscv_get() */
+ /* Parameters needed to test nanobts_attr_nsvc_get() */
struct osmo_sockaddr_str addr;
osmo_sockaddr_str_from_str(&addr, "10.9.1.101", 23000);
osmo_sockaddr_str_to_sockaddr(&addr, &bts->site_mgr->gprs.nsvc[0].remote.u.sas);
@@ -285,7 +285,7 @@ int main(int argc, char **argv)
test_nanobts_attr_bts_get(bts, attr_bts_expected);
test_nanobts_attr_nse_get(bts, attr_nse_expected);
test_nanobts_attr_cell_get(bts, attr_cell_expected);
- test_nanobts_attr_nscv_get(bts, attr_nscv_expected);
+ test_nanobts_attr_nsvc_get(bts, attr_nscv_expected);
test_nanobts_attr_radio_get(bts, trx, attr_radio_expected);
/* NSVC IPv6 test */
@@ -303,7 +303,7 @@ int main(int argc, char **argv)
0xfd, 0x00, 0x56, 0x78, 0x90, 0x12, 0x34, 0x56,
0x78, 0x90, 0x12, 0x34, 0x56, 0x78, 0x90, 0x12,
};
- test_nanobts_attr_nscv_get(bts, attr_nscv6_expected);
+ test_nanobts_attr_nsvc_get(bts, attr_nscv6_expected);
printf("Done\n");