aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gb
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-11-29 17:39:19 +0100
committerlaforge <laforge@osmocom.org>2021-01-18 14:07:48 +0000
commit603f404e41a95e20d39ee64b649c8c19777caa8f (patch)
tree506a2c2e54b52060a232074d87bfd7edc04c8db3 /tests/gb
parent509047ba5d2daf2cecfa198d0dca1430c8257294 (diff)
gprs_ns2: Give NS-VC FSMs a proper name/identifier
Log output without a proper identifier is mostly useless. Change-Id: Id9d5b0684584d03685900c6298fe70246793de14 Closes: OS#4876
Diffstat (limited to 'tests/gb')
-rw-r--r--tests/gb/gprs_ns2_test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/gb/gprs_ns2_test.c b/tests/gb/gprs_ns2_test.c
index d53dc88f..7c28dca6 100644
--- a/tests/gb/gprs_ns2_test.c
+++ b/tests/gb/gprs_ns2_test.c
@@ -113,7 +113,7 @@ void test_nse_transfer_cap(void *ctx)
OSMO_ASSERT(nse);
printf("---- Test with NSVC[0]\n");
- nsvc[0] = ns2_vc_alloc(bind[0], nse, false, NS2_VC_MODE_ALIVE);
+ nsvc[0] = ns2_vc_alloc(bind[0], nse, false, NS2_VC_MODE_ALIVE, NULL);
OSMO_ASSERT(nsvc[0]);
OSMO_ASSERT(ns2_count_transfer_cap(nse, 0) == 0);
nsvc[0]->fi->state = 3; /* HACK: 3 = GPRS_NS2_ST_UNBLOCKED */
@@ -121,7 +121,7 @@ void test_nse_transfer_cap(void *ctx)
OSMO_ASSERT(ns2_count_transfer_cap(nse, 0) == 42);
printf("---- Test with NSVC[1]\n");
- nsvc[1] = ns2_vc_alloc(bind[0], nse, false, NS2_VC_MODE_ALIVE);
+ nsvc[1] = ns2_vc_alloc(bind[0], nse, false, NS2_VC_MODE_ALIVE, NULL);
OSMO_ASSERT(nsvc[1]);
OSMO_ASSERT(ns2_count_transfer_cap(nse, 0) == 42);
nsvc[1]->fi->state = 3; /* HACK: 3 = GPRS_NS2_ST_UNBLOCKED */
@@ -129,7 +129,7 @@ void test_nse_transfer_cap(void *ctx)
OSMO_ASSERT(ns2_count_transfer_cap(nse, 0) == 42);
printf("---- Test with NSVC[2]\n");
- nsvc[2] = ns2_vc_alloc(bind[1], nse, false, NS2_VC_MODE_ALIVE);
+ nsvc[2] = ns2_vc_alloc(bind[1], nse, false, NS2_VC_MODE_ALIVE, NULL);
OSMO_ASSERT(nsvc[2]);
OSMO_ASSERT(ns2_count_transfer_cap(nse, 0) == 42);
nsvc[2]->fi->state = 3; /* HACK: 3 = GPRS_NS2_ST_UNBLOCKED */