This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
lynxis lazus gerrit-no-reply at lists.osmocom.orglynxis lazus has uploaded this change for review. ( https://gerrit.osmocom.org/9558 Change subject: Osmocom_VTY_Functions: introduce f_vty_transceive_not_match() ...................................................................... Osmocom_VTY_Functions: introduce f_vty_transceive_not_match() f_vty_transceive_not_match(TELNETasp_PT pt, charstring cmd, template charstring exp_ret) fails when vty response match template. Change-Id: I489d2a47cd4690dcfc3f1042c332014593d082a2 --- M library/Osmocom_VTY_Functions.ttcn 1 file changed, 8 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/58/9558/1 diff --git a/library/Osmocom_VTY_Functions.ttcn b/library/Osmocom_VTY_Functions.ttcn index f118865..c7f4441 100644 --- a/library/Osmocom_VTY_Functions.ttcn +++ b/library/Osmocom_VTY_Functions.ttcn @@ -136,5 +136,13 @@ } } +function f_vty_transceive_not_match(TELNETasp_PT pt, charstring cmd, template charstring exp_ret) { + var charstring ret := f_vty_transceive_ret(pt, cmd); + if (match(ret, exp_ret)) { + setverdict(fail, "Unexpected matching VTY response: ", ret); + self.stop; + } +} + } -- To view, visit https://gerrit.osmocom.org/9558 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I489d2a47cd4690dcfc3f1042c332014593d082a2 Gerrit-Change-Number: 9558 Gerrit-PatchSet: 1 Gerrit-Owner: lynxis lazus <lynxis at fe80.eu> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180612/21ab54c5/attachment.htm>