For moving a work place

This commit is contained in:
Sukchan Lee 2019-07-21 21:04:10 +09:00
parent 78eeb1ad45
commit adb48fbad6
2 changed files with 30 additions and 7 deletions

View File

@ -1012,7 +1012,22 @@ int tests1ap_build_ue_capability_info_indication(ogs_pkbuf_t **pkbuf, int i)
"",
"",
"",
"00164081f7000003 0000000200f80008 00048003e993004a 4081e181df040ee2"
"03081a4cd9800818 1004e103a54ca044 8ff91ff91ff23ff2 3fe47fe47fc8ffc8"
"ff91ff91ff23ff23 fe47fe47fc8ffc8f f91ff7fcffebe882 002429c329d2a4b8"
"fc37f00000000010 254b7000000003ea 83234a801c600040 4608006300024018"
"c000880e10002021 0400708001010020 028410300001000c 200048039c001200"
"e50004807a000101 982002d010398001 000e60004807a000 101a02001d000090"
"0738082401ca0209 00730082401d0020 900e100024200400 50824600002001ce"
"020980738002603d 002090cc1001e800 048660800b4048e6 0004007a00010198"
"2402d01039804120 168081cc000900f4 008243404007a000 121a02002d0123a0"
"001000e80104c03a 000131048ff91ff9 1ff23ff23fe47fe4 7fc8ffc8ff91ff91"
"ff23ff23fe47fe47 fc8ffc8ff91ff91f f23ff23fe47fe47f c8ffc8ff91ff91ff"
"23ff23fe47fe47fc 8ffc8ff91ff91ff2 3ff23fe47fe47fc8 ffc8ff91ff91ff23"
"ff23fe47fe47fc8f fc8ff91ff91ff23f f23fe47fe47fc8ff c8ff91ff91ff23ff"
"23fe47fe47fc8ffc 8ff91ff402c00004 d043c5c10e10f1fc 391f8000648803c6"
"5a600923ffffcd02 1133035758a66014 04ef65233b8878d2 f2803201bb3432b2"
"59ef9891e7000d80 1bbe8c662479c003 60068f8b19891e70 00d80100",
"",
/* 21 */
@ -1056,7 +1071,7 @@ int tests1ap_build_ue_capability_info_indication(ogs_pkbuf_t **pkbuf, int i)
0,
0,
0,
508,
0,
/* 21 */
@ -1381,7 +1396,8 @@ int tests1ap_build_attach_complete(ogs_pkbuf_t **pkbuf, int i)
/* 18 */
"000d403700000500 0000020001000800 020001001a000e0d 27ffe827a8020743"
"00035200c2006440 080009f1070019b0 10004340060009f1 070007",
"",
"000d403900000500 00000200f8000800 048003e993001a00 0e0d27b1f1539802"
"074300035200c200 6440080027f41200 0640200043400600 27f4123039",
"",
/* 21 */
@ -1416,7 +1432,7 @@ int tests1ap_build_attach_complete(ogs_pkbuf_t **pkbuf, int i)
0,
59,
0,
61,
0,
/* 21 */

View File

@ -178,21 +178,27 @@ static void test1_func(abts_case *tc, void *data)
ABTS_PTR_NOTNULL(tc, recvbuf);
ogs_pkbuf_free(recvbuf);
#if 0
/* Send UE Capability Info Indication */
rv = tests1ap_build_ue_capability_info_indication(&sendbuf, msgindex);
ABTS_INT_EQUAL(tc, OGS_OK, rv);
rv = testenb_s1ap_send(s1ap, sendbuf);
ABTS_INT_EQUAL(tc, OGS_OK, rv);
/* Send Initial Context Setup Response */
rv = tests1ap_build_initial_context_setup_response(&sendbuf,
1, 1, 5, 0x00460003, "127.0.0.5");
248, 256403, 5, 0x00000615, "127.0.0.5");
ABTS_INT_EQUAL(tc, OGS_OK, rv);
rv = testenb_s1ap_send(s1ap, sendbuf);
ABTS_INT_EQUAL(tc, OGS_OK, rv);
/* Send Attach Complete + Activate default EPS bearer cotext accept */
/* Receive EMM information */
rv = tests1ap_build_attach_complete(&sendbuf, msgindex);
ABTS_INT_EQUAL(tc, OGS_OK, rv);
rv = testenb_s1ap_send(s1ap, sendbuf);
ABTS_INT_EQUAL(tc, OGS_OK, rv);
/* Receive EMM information */
/* Receive EMM Information */
recvbuf = testenb_s1ap_read(s1ap);
ABTS_PTR_NOTNULL(tc, recvbuf);
ogs_pkbuf_free(recvbuf);
@ -202,6 +208,7 @@ static void test1_func(abts_case *tc, void *data)
ABTS_PTR_NOTNULL(tc, recvbuf);
ogs_pkbuf_free(recvbuf);
#if 0
/* Retreive M-TMSI */
enb_ue = enb_ue_find_by_mme_ue_s1ap_id(1);
ogs_assert(enb_ue);