osmith has uploaded this change for review.
hlr: fix error msg in f_count_auth_tuples
Log expected_auth_tuples instead of mp_default_num_auth_tuples,
otherwise we get bogus messages such as:
Did not received expected number of auth tuples. Expected 5 but received 5
Change-Id: Icc0e3118f0cf113ed8784a9f22d3d2ccbf47cf76
---
M hlr/HLR_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/24/41224/1
diff --git a/hlr/HLR_Tests.ttcn b/hlr/HLR_Tests.ttcn
index 3b1b03e..97bbada 100644
--- a/hlr/HLR_Tests.ttcn
+++ b/hlr/HLR_Tests.ttcn
@@ -965,8 +965,8 @@
if ((not istemplatekind(expected_auth_tuples, "omit")) and
not match(auth_tuples, valueof(expected_auth_tuples))) {
setverdict(fail,
- "Did not received expected number of auth tuples. Expected ",
- mp_default_num_auth_tuples,
+ "Did not receive expected number of auth tuples. Expected ",
+ expected_auth_tuples,
" but received ", auth_tuples);
}
}
To view, visit change 41224. To unsubscribe, or for help writing mail filters, visit settings.