Move IMSI into test parameters
This makes test routines more flexible and allows to easier re-use them
for tests with different IMSIs.
Change-Id: I74d46fdb7e87dc04c6b82a0b6f3ce6bef60bde58
Related: OS#2864
diff --git a/tests/msc_vlr/msc_vlr_test_gsm_ciph.c b/tests/msc_vlr/msc_vlr_test_gsm_ciph.c
index 42e620a..38f07bb 100644
--- a/tests/msc_vlr/msc_vlr_test_gsm_ciph.c
+++ b/tests/msc_vlr/msc_vlr_test_gsm_ciph.c
@@ -23,10 +23,9 @@
#include "msc_vlr_tests.h"
-void test_ciph()
+void test_ciph(const char *imsi)
{
struct vlr_subscr *vsub;
- const char *imsi = "901700000004620";
comment_start();
@@ -235,10 +234,9 @@
comment_end();
}
-void test_ciph_tmsi()
+void test_ciph_tmsi(const char *imsi)
{
struct vlr_subscr *vsub;
- const char *imsi = "901700000004620";
comment_start();
@@ -474,10 +472,9 @@
comment_end();
}
-void test_ciph_imei()
+void test_ciph_imei(const char *imsi)
{
struct vlr_subscr *vsub;
- const char *imsi = "901700000004620";
comment_start();
@@ -576,10 +573,9 @@
comment_end();
}
-void test_ciph_imeisv()
+void test_ciph_imeisv(const char *imsi)
{
struct vlr_subscr *vsub;
- const char *imsi = "901700000004620";
comment_start();
@@ -674,10 +670,9 @@
comment_end();
}
-void test_ciph_tmsi_imei()
+void test_ciph_tmsi_imei(const char *imsi)
{
struct vlr_subscr *vsub;
- const char *imsi = "901700000004620";
comment_start();