aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/mm_auth/mm_auth_test.ok
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-30 11:22:26 +0200
committerHarald Welte <laforge@gnumonks.org>2016-03-31 11:56:21 +0200
commitd617c5d3ac65b5090f787da3e2911fb6742f515c (patch)
tree1effb76a0ed21ee1ff82ca5017ea49af211ba944 /openbsc/tests/mm_auth/mm_auth_test.ok
parent4554a62c4d16bd95ae4fb38ede0fd9f64a4d1429 (diff)
MM Auth test: add test to re-use existing auth
Diffstat (limited to 'openbsc/tests/mm_auth/mm_auth_test.ok')
-rw-r--r--openbsc/tests/mm_auth/mm_auth_test.ok6
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/tests/mm_auth/mm_auth_test.ok b/openbsc/tests/mm_auth/mm_auth_test.ok
index 52feb3679..cc0e76960 100644
--- a/openbsc/tests/mm_auth/mm_auth_test.ok
+++ b/openbsc/tests/mm_auth/mm_auth_test.ok
@@ -22,3 +22,9 @@ wrapped: db_get_authinfo_for_subscr(): rc = 0
wrapped: db_get_lastauthtuple_for_subscr(): rc = 0
wrapped: db_sync_lastauthtuple_for_subscr(): rc = 0
auth_get_tuple_for_subscr(key_seq=7) --> auth_action == AUTH_DO_AUTH_THEN_CIPH
+
+* test_auth_reuse()
+wrapped: db_get_authinfo_for_subscr(): rc = 0
+wrapped: db_get_lastauthtuple_for_subscr(): rc = 0
+wrapped: db_sync_lastauthtuple_for_subscr(): rc = 0
+auth_get_tuple_for_subscr(key_seq=3) --> auth_action == AUTH_DO_CIPH