Signed-off-by: Ewan Mellor <ewan@xensource.com>
eyecatcher = "Error:"
where = output.find(eyecatcher)
if status == 0:
- FAIL("xm list returned invalud %i != 0" % status)
+ FAIL("xm list returned invalid %i != 0" % status)
elif where == -1:
FAIL("xm list failed to report error for bad arg")
# Unpause the domain
status, output = traceCommand("xm unpause %s" % domain.getName())
if status != 0:
- FAIL("xm unpause returned invalud %i != 0", status)
+ FAIL("xm unpause returned invalid %i != 0", status)
# Make sure the domain is unpaused before we finish up
status, output = traceCommand("xm unpause %s" % domain.getName())