Change in osmo-ttcn3-hacks[master]: SGSN_Tests: fail when receiving any layer 3 package for a power off s...

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat May 11 06:00:01 UTC 2019


Harald Welte has submitted this change and it was merged. ( https://gerrit.osmocom.org/13987 )

Change subject: SGSN_Tests: fail when receiving any layer 3 package for a power off station
......................................................................

SGSN_Tests: fail when receiving any layer 3 package for a power off station

Change-Id: I27d798c1866ed7ae9b03b9c0ffdd7400431551f9
---
M sgsn/SGSN_Tests.ttcn
1 file changed, 4 insertions(+), 0 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



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 @@
 		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);
 		}

-- 
To view, visit https://gerrit.osmocom.org/13987
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I27d798c1866ed7ae9b03b9c0ffdd7400431551f9
Gerrit-Change-Number: 13987
Gerrit-PatchSet: 2
Gerrit-Owner: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190511/838c42b5/attachment.html>


More information about the gerrit-log mailing list