aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bsc/bsc_test.c2
-rw-r--r--tests/bssap/bssap_test.c2
-rw-r--r--tests/channel/channel_test.c2
-rw-r--r--tests/gsm0408/gsm0408_test.c2
-rw-r--r--tests/handover/handover_test.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/bsc/bsc_test.c b/tests/bsc/bsc_test.c
index 9c35d2f60..541a44caf 100644
--- a/tests/bsc/bsc_test.c
+++ b/tests/bsc/bsc_test.c
@@ -122,7 +122,7 @@ static void test_scan(void)
{
int i;
- struct gsm_network *net = bsc_network_init(NULL, 1, 1);
+ struct gsm_network *net = bsc_network_init(NULL);
struct gsm_bts *bts = gsm_bts_alloc(net, 0);
struct bsc_msc_data *msc;
struct gsm_subscriber_connection *conn;
diff --git a/tests/bssap/bssap_test.c b/tests/bssap/bssap_test.c
index ad8974f73..cf60e3871 100644
--- a/tests/bssap/bssap_test.c
+++ b/tests/bssap/bssap_test.c
@@ -89,7 +89,7 @@ void test_cell_identifier()
struct bsc_msc_data *msc;
struct gsm_bts *bts;
- bsc_gsmnet = bsc_network_init(NULL, 1, 1);
+ bsc_gsmnet = bsc_network_init(NULL);
bsc_gsmnet->bsc_data->rf_ctrl = talloc_zero(NULL, struct osmo_bsc_rf);
bsc_gsmnet->bsc_data->rf_ctrl->policy = S_RF_ON;
diff --git a/tests/channel/channel_test.c b/tests/channel/channel_test.c
index f37877e94..b41e3d6a7 100644
--- a/tests/channel/channel_test.c
+++ b/tests/channel/channel_test.c
@@ -38,7 +38,7 @@ void test_bts_debug_print(void)
printf("Testing the lchan printing:");
/* Create a dummy network */
- network = bsc_network_init(tall_bsc_ctx, 1, 1);
+ network = bsc_network_init(tall_bsc_ctx);
if (!network)
exit(1);
/* Add a BTS with some reasonanbly non-zero id */
diff --git a/tests/gsm0408/gsm0408_test.c b/tests/gsm0408/gsm0408_test.c
index aeec56f4c..9f5a5c41f 100644
--- a/tests/gsm0408/gsm0408_test.c
+++ b/tests/gsm0408/gsm0408_test.c
@@ -834,7 +834,7 @@ int main(int argc, char **argv)
osmo_init_logging(&log_info);
log_set_log_level(osmo_stderr_target, LOGL_INFO);
- net = bsc_network_init(tall_bsc_ctx, 1, 1);
+ net = bsc_network_init(tall_bsc_ctx);
if (!net) {
printf("Network init failure.\n");
return EXIT_FAILURE;
diff --git a/tests/handover/handover_test.c b/tests/handover/handover_test.c
index d1f75ba4e..8ba97fd8e 100644
--- a/tests/handover/handover_test.c
+++ b/tests/handover/handover_test.c
@@ -1293,7 +1293,7 @@ int main(int argc, char **argv)
log_set_print_filename2(osmo_stderr_target, LOG_FILENAME_BASENAME);
/* Create a dummy network */
- bsc_gsmnet = bsc_network_init(NULL, 1, 1);
+ bsc_gsmnet = bsc_network_init(NULL);
if (!bsc_gsmnet)
exit(1);