summaryrefslogtreecommitdiffstats
path: root/sgsn
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2019-05-11 01:21:03 +0200
committerHarald Welte <laforge@gnumonks.org>2019-05-11 06:00:01 +0000
commit44aa077bbd50694757e318c2e837af61db23edbf (patch)
tree25f53b3f33971753c395c1d185df38ecbe1e9263 /sgsn
parent8e0fd46a27367340458e08a8d11c8017172ed28d (diff)
SGSN_Tests: fail when receiving any layer 3 package for a power off station
Diffstat (limited to 'sgsn')
-rw-r--r--sgsn/SGSN_Tests.ttcn4
1 files changed, 4 insertions, 0 deletions
diff --git a/sgsn/SGSN_Tests.ttcn b/sgsn/SGSN_Tests.ttcn
index f5fb21b..89401f4 100644
--- a/sgsn/SGSN_Tests.ttcn
+++ b/sgsn/SGSN_Tests.ttcn
@@ -913,6 +913,10 @@ function f_detach_mo(BIT3 detach_type, boolean power_off, boolean expect_purge,
mtc.stop;
/* TODO: check if any PDP contexts are deactivated on network side? */
}
+ [power_off] BSSGP[bssgp_index].receive(tr_BD_L3_MT(?)) -> value bd {
+ setverdict(fail, "Unexpected Layer 3 package received in power-off DETACH");
+ mtc.stop;
+ }
[power_off] T.timeout {
setverdict(pass);
}