sgsn: fix TC_iu_attach_geran_rau: register the new TLLI

We're getting a new TLLI assigned during the attach procedure (see
Allocated P-TMSI in the GMM Attach Accept message), which needs to
be registered in order to receive BSSGP PDUs from BSSGP_Emulation.

Change-Id: Idafcbd7e44a523a26dc34dc72e38ff879782148e
diff --git a/sgsn/SGSN_Tests_Iu.ttcn b/sgsn/SGSN_Tests_Iu.ttcn
index 5f1bb55..0a589b9 100644
--- a/sgsn/SGSN_Tests_Iu.ttcn
+++ b/sgsn/SGSN_Tests_Iu.ttcn
@@ -4,6 +4,7 @@
 import from Osmocom_VTY_Functions all;
 
 import from SGSN_Tests all;
+import from BSSGP_Emulation all;
 
 import from RAN_Adapter all;
 import from RAN_Emulation all;
@@ -71,6 +72,10 @@
 	/* first perform regular attach */
 	f_gmm_attach(umts_aka_challenge := true, force_gsm_sres := false, ran_index := 3);
 
+	/* we got a new TLLI, register it */
+	f_bssgp_client_unregister(g_pars.imsi);
+	f_bssgp_client_register(g_pars.imsi, g_pars.tlli);
+
 	/* do a routing area update */
 	f_routing_area_update(g_pars.ra);
 }
diff --git a/sgsn/expected-results.xml b/sgsn/expected-results.xml
index bef13dc..2351ace 100644
--- a/sgsn/expected-results.xml
+++ b/sgsn/expected-results.xml
@@ -88,12 +88,7 @@
   <!-- SGSN_Tests_Iu testcases start here -->
   <testcase classname='SGSN_Tests_Iu' name='TC_iu_attach' time='MASKED'/>
   <testcase classname='SGSN_Tests_Iu' name='TC_iu_attach_encr' time='MASKED'/>
-  <testcase classname='SGSN_Tests_Iu' name='TC_iu_attach_geran_rau' time='MASKED'>
-    <failure type='fail-verdict'>"BSSGP_Emulation.ttcnpp:830 : Couldn't find Component for TLLI 'E918E6AA'O"
-      SGSN_Tests_Iu.ttcn:MASKED SGSN_Tests_Iu control part
-      SGSN_Tests_Iu.ttcn:MASKED TC_iu_attach_geran_rau testcase
-    </failure>
-  </testcase>
+  <testcase classname='SGSN_Tests_Iu' name='TC_iu_attach_geran_rau' time='MASKED'/>
   <testcase classname='SGSN_Tests_Iu' name='TC_geran_attach_iu_rau' time='MASKED'/>
   <!-- SGSN_Tests_NS (handle_sns == true) testcases start here -->
   <testcase classname='SGSN_Tests_NS' name='TC_SNS_size' time='MASKED'/>