pespin has uploaded this change for review.

View Change

hnbgw: Introduce module parameter mp_validate_talloc_asn1

This allows selectively disabling ASN.1 memory checks, which still fail
in current osmo-hnbgw-latest.

Change-Id: I5c18cf2d6797bcf0bef13d71ab0b69f1403b474f
---
M hnbgw/HNBGW_Tests.ttcn
1 file changed, 17 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/80/33780/1
diff --git a/hnbgw/HNBGW_Tests.ttcn b/hnbgw/HNBGW_Tests.ttcn
index f38fc0c..a89837a 100644
--- a/hnbgw/HNBGW_Tests.ttcn
+++ b/hnbgw/HNBGW_Tests.ttcn
@@ -185,6 +185,8 @@
/* IP address from which the SUT (osmo-hnbgw) sends PFCP requests, and to which the ttcn3 UPF emulation sends
* PFCP responses. */
charstring mp_pfcp_ip_remote := "127.0.0.2";
+
+ boolean mp_validate_talloc_asn1 := true;
}

function MSC_UnitdataCallback(RANAP_PDU ranap) runs on RAN_Emulation_CT return template RANAP_PDU {
@@ -460,7 +462,9 @@
}

friend function f_shutdown_helper() runs on test_CT {
- f_verify_talloc_bytes(HNBGWVTY, {"asn1_context"}, 1);
+ if (mp_validate_talloc_asn1) {
+ f_verify_talloc_bytes(HNBGWVTY, {"asn1_context"}, 1);
+ }

all component.stop;
setverdict(pass);

To view, visit change 33780. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I5c18cf2d6797bcf0bef13d71ab0b69f1403b474f
Gerrit-Change-Number: 33780
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange