aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_test_ms_timeout.c
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2018-02-06 19:19:52 +0100
committerMax <msuraev@sysmocom.de>2018-02-07 12:08:19 +0100
commitb0a4314911140b1599cccfc8171fcdab4cd9bfab (patch)
tree519c99bb13c4020a28d7cc3b6b132dfa97367c3d /tests/msc_vlr/msc_vlr_test_ms_timeout.c
parent29ce08a77aaa1c7ff5e1e40e41bba3bf16455636 (diff)
VLR tests: always print test parameters
For each test print: * the test number * IMSI Unfortunately tests are organized in such a way that we don't know the number of particular test in advance. Nevertheless, it make sense to always print it regardless of -v option presense. Related: OS#2864 Change-Id: I2e1d7701f5322d2311f32b796148a8b414f53b8e
Diffstat (limited to 'tests/msc_vlr/msc_vlr_test_ms_timeout.c')
-rw-r--r--tests/msc_vlr/msc_vlr_test_ms_timeout.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/msc_vlr/msc_vlr_test_ms_timeout.c b/tests/msc_vlr/msc_vlr_test_ms_timeout.c
index d5f4bb095..569bbf547 100644
--- a/tests/msc_vlr/msc_vlr_test_ms_timeout.c
+++ b/tests/msc_vlr/msc_vlr_test_ms_timeout.c
@@ -23,9 +23,9 @@
#include "msc_vlr_tests.h"
-void test_ms_timeout_lu_auth_resp()
+void test_ms_timeout_lu_auth_resp(uint8_t nr, const char *imsi)
{
- comment_start();
+ comment_start(nr, imsi);
net->authentication_required = true;
@@ -80,12 +80,12 @@ void test_ms_timeout_lu_auth_resp()
EXPECT_CONN_COUNT(0);
VERBOSE_ASSERT(lu_result_sent, == RES_REJECT, "%d");
- comment_end();
+ comment_end(nr, imsi);
}
-void test_ms_timeout_cm_auth_resp()
+void test_ms_timeout_cm_auth_resp(uint8_t nr, const char *imsi)
{
- comment_start();
+ comment_start(nr, imsi);
net->authentication_required = true;
@@ -179,16 +179,16 @@ void test_ms_timeout_cm_auth_resp()
VERBOSE_ASSERT(cm_service_result_sent, == RES_REJECT, "%d");
clear_vlr();
- comment_end();
+ comment_end(nr, imsi);
}
-void test_ms_timeout_paging(const char *imsi)
+void test_ms_timeout_paging(uint8_t nr, const char *imsi)
{
struct vlr_subscr *vsub;
rx_from_ran = RAN_GERAN_A;
- comment_start();
+ comment_start(nr, imsi);
fake_time_start();
@@ -283,7 +283,7 @@ void test_ms_timeout_paging(const char *imsi)
EXPECT_CONN_COUNT(0);
clear_vlr();
- comment_end();
+ comment_end(nr, imsi);
}
msc_vlr_test_func_t msc_vlr_tests[] = {