summaryrefslogtreecommitdiffstats
path: root/sgsn
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2018-06-12 14:01:34 +0200
committerAlexander Couzens <lynxis@fe80.eu>2018-06-14 01:55:31 +0200
commit0ca0d9caf1bbf9fed99e86c547dd8e8166835f4a (patch)
tree1335a911661f44f020bc0b03adb3f3cfc7e72bec /sgsn
parentf9858658f9a7569aef4ff690fa37f2df65d47a0f (diff)
sgsn: f_TC_attach_closed_foreign: fail on recv an Attach Accept
The test expect a reject. Recv an attach accept should fail then. Change-Id: I8a4ae6aaaa71dabb1d8a2ee7585e624b962a3500
Diffstat (limited to 'sgsn')
-rw-r--r--sgsn/SGSN_Tests.ttcn3
1 files changed, 3 insertions, 0 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index 17abb95..466c3ed 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -706,6 +706,9 @@ private function f_TC_attach_closed_foreign(charstring id) runs on BSSGP_ConnHdl
[] BSSGP.receive(tr_BD_L3_MT(tr_GMM_ATTACH_REJECT(?))) {
setverdict(pass);
}
+ [] BSSGP.receive(tr_BD_L3_MT(tr_GMM_ATTACH_ACCEPT(*, *, *))) {
+ setverdict(fail);
+ }
}
}
testcase TC_attach_closed() runs on test_CT {