summaryrefslogtreecommitdiffstats
path: root/library/Osmocom_VTY_Functions.ttcn
diff options
context:
space:
mode:
Diffstat (limited to 'library/Osmocom_VTY_Functions.ttcn')
-rw-r--r--library/Osmocom_VTY_Functions.ttcn6
1 files changed, 3 insertions, 3 deletions
diff --git a/library/Osmocom_VTY_Functions.ttcn b/library/Osmocom_VTY_Functions.ttcn
index c7f4441..6e4eb74 100644
--- a/library/Osmocom_VTY_Functions.ttcn
+++ b/library/Osmocom_VTY_Functions.ttcn
@@ -59,7 +59,7 @@ module Osmocom_VTY_Functions {
[] pt.receive(charstring:?) -> value rx { buf := buf & rx; repeat };
[] T.timeout {
setverdict(fail, "VTY Timeout for prompt");
- self.stop;
+ mtc.stop;
};
}
T.stop;
@@ -132,7 +132,7 @@ function f_vty_transceive_match(TELNETasp_PT pt, charstring cmd, template charst
var charstring ret := f_vty_transceive_ret(pt, cmd);
if (not match(ret, exp_ret)) {
setverdict(fail, "Non-matching VTY response: ", ret);
- self.stop;
+ mtc.stop;
}
}
@@ -140,7 +140,7 @@ function f_vty_transceive_not_match(TELNETasp_PT pt, charstring cmd, template ch
var charstring ret := f_vty_transceive_ret(pt, cmd);
if (match(ret, exp_ret)) {
setverdict(fail, "Unexpected matching VTY response: ", ret);
- self.stop;
+ mtc.stop;
}
}