From 1cd740704e976ca435bbcfbec2f1808a9d1a8a60 Mon Sep 17 00:00:00 2001 From: Sukchan Lee Date: Wed, 14 Mar 2018 18:12:07 +0900 Subject: [PATCH] update it --- src/mme/s1ap_build.c | 2 +- test/Makefile.am | 15 +++++++-------- test/volte/volte_test.c | 4 ++-- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/mme/s1ap_build.c b/src/mme/s1ap_build.c index 241fb15de..8d63b3989 100644 --- a/src/mme/s1ap_build.c +++ b/src/mme/s1ap_build.c @@ -753,7 +753,7 @@ status_t s1ap_build_e_rab_modify_request( item = core_calloc(1, sizeof(S1AP_E_RABToBeModifiedItemBearerModReqIEs_t)); ASN_SEQUENCE_ADD(&E_RABToBeModifiedListBearerModReq->list, item); - item->id = S1AP_ProtocolIE_ID_id_E_RABToBeSetupItemBearerSUReq; + item->id = S1AP_ProtocolIE_ID_id_E_RABToBeModifiedItemBearerModReq; item->criticality = S1AP_Criticality_reject; item->value.present = S1AP_E_RABToBeModifiedItemBearerModReqIEs__value_PR_E_RABToBeModifiedItemBearerModReq; diff --git a/test/Makefile.am b/test/Makefile.am index f470c79b1..7807cfb5d 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -1,7 +1,6 @@ ## Process this file with automake to produce Makefile.in. -#bin_PROGRAMS = testepc testvolte -bin_PROGRAMS = testepc +bin_PROGRAMS = testepc testvolte configdir = ${sysconfdir}/nextepc/test config_DATA = sample.conf sample-volte.conf @@ -14,12 +13,12 @@ testepc_SOURCES = \ basic/attach_test.c basic/volte_test.c basic/handover_test.c \ $(NULL) -#testvolte_SOURCES = \ -# common/abts.h common/abts.c \ -# common/testpacket.h common/testpacket.c common/testutil.h \ -# volte/testutil.c volte/testapp.h volte/testapp.c volte/pcscf_fd_path.c \ -# volte/volte_test.c \ -# $(NULL) +testvolte_SOURCES = \ + common/abts.h common/abts.c \ + common/testpacket.h common/testpacket.c common/testutil.h \ + volte/testutil.c volte/testapp.h volte/testapp.c volte/pcscf_fd_path.c \ + volte/volte_test.c \ + $(NULL) LDADD = \ $(top_srcdir)/src/libepc.la \ diff --git a/test/volte/volte_test.c b/test/volte/volte_test.c index 047f156c0..822b348fb 100644 --- a/test/volte/volte_test.c +++ b/test/volte/volte_test.c @@ -93,7 +93,7 @@ static void volte_test1(abts_case *tc, void *data) /* Send S1-Setup Reqeust */ rv = tests1ap_build_setup_req( - &sendbuf, S1ap_ENB_ID_PR_macroENB_ID, 0x54f64); + &sendbuf, S1AP_ENB_ID_PR_macroENB_ID, 0x54f64); ABTS_INT_EQUAL(tc, CORE_OK, rv); rv = tests1ap_enb_send(sock, sendbuf); ABTS_INT_EQUAL(tc, CORE_OK, rv); @@ -442,7 +442,7 @@ static void volte_test2(abts_case *tc, void *data) /* Send S1-Setup Reqeust */ rv = tests1ap_build_setup_req( - &sendbuf, S1ap_ENB_ID_PR_macroENB_ID, 0x54f64); + &sendbuf, S1AP_ENB_ID_PR_macroENB_ID, 0x54f64); ABTS_INT_EQUAL(tc, CORE_OK, rv); rv = tests1ap_enb_send(sock, sendbuf); ABTS_INT_EQUAL(tc, CORE_OK, rv);