aboutsummaryrefslogtreecommitdiffstats
path: root/tests/msc_vlr/msc_vlr_tests.h
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-06-15 23:57:30 +0700
committerHarald Welte <laforge@gnumonks.org>2018-07-29 16:22:06 +0200
commit2760585cca854b1ca5ac7e74b015e31c157a66c5 (patch)
tree775d55281ed5363ed9da3c4f87576b7c2579ae89 /tests/msc_vlr/msc_vlr_tests.h
parenta4efe3f435211a46195385012788fcaa7b8849c4 (diff)
msc_vlr_tests: don't abuse USSD-request to conclude connections
Previously the '*#100#' USSD-request was abused in order to conclude the current subscriber connection. This makes the unit tests depend on each other, for example, if one break something in the GSM 09.11 implementation, a half of tests would fail. Moreover, the further changes in the GSM 09.11 implementation will make the results less predictable (i.e. session ID, etc.). So let's introduce a separate unit test with simple request- response logic, while more complex tests will be in TTCN. Change-Id: I40b4caac3113263f5a06c861dff5e10d43c319b5
Diffstat (limited to 'tests/msc_vlr/msc_vlr_tests.h')
-rw-r--r--tests/msc_vlr/msc_vlr_tests.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/msc_vlr/msc_vlr_tests.h b/tests/msc_vlr/msc_vlr_tests.h
index a62cffa5e..4ca05d29f 100644
--- a/tests/msc_vlr/msc_vlr_tests.h
+++ b/tests/msc_vlr/msc_vlr_tests.h
@@ -153,6 +153,8 @@ struct msgb *msgb_from_hex(const char *label, uint16_t size, const char *hex);
void clear_vlr();
bool conn_exists(struct gsm_subscriber_connection *conn);
+void conn_conclude_cm_service_req(struct gsm_subscriber_connection *conn,
+ enum ran_type via_ran);
void dtap_expect_tx(const char *hex);
void dtap_expect_tx_ussd(char *ussd_text);