commit 7d07a78ed36920c1cbebb2d90d76114404c94b7e
Author: Ondrej Lichtner <olichtne(a)redhat.com>
Date: Wed Sep 4 13:36:03 2013 +0200
Machine: remove expect checking
The expect value is now checked on the slave.
Signed-off-by: Ondrej Lichtner <olichtne(a)redhat.com>
Signed-off-by: Jiri Pirko <jiri(a)resnulli.us>
lnst/Controller/Machine.py | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/lnst/Controller/Machine.py b/lnst/Controller/Machine.py
index f773bdb..f212824 100644
--- a/lnst/Controller/Machine.py
+++ b/lnst/Controller/Machine.py
@@ -198,13 +198,6 @@ class Machine(object):
signal.alarm(0)
signal.signal(signal.SIGALRM, prev_handler)
- # FIXME: This shouldn't be here!
- if "expect" in command:
- cmd_res["passed"] = cmd_res["passed"] ==
command["expect"]
- if not cmd_res["passed"]:
- msg = "The result differs from what was expected."
- cmd_res["err_msg"] = msg
-
return cmd_res
def get_hostname(self):
Show replies by thread