All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] KVM test: iofuzz: Fix exception formatting bug
@ 2011-04-10 20:44 Lucas Meneghel Rodrigues
  0 siblings, 0 replies; only message in thread
From: Lucas Meneghel Rodrigues @ 2011-04-10 20:44 UTC (permalink / raw)
  To: autotest; +Cc: kvm, Lucas Meneghel Rodrigues

Show both operation and operand when VM quits abnormally.

Signed-off-by: Lucas Meneghel Rodrigues <lmr@redhat.com>
---
 client/tests/kvm/tests/iofuzz.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/client/tests/kvm/tests/iofuzz.py b/client/tests/kvm/tests/iofuzz.py
index 7189f91..ea25ba2 100644
--- a/client/tests/kvm/tests/iofuzz.py
+++ b/client/tests/kvm/tests/iofuzz.py
@@ -84,8 +84,8 @@ def run_iofuzz(test, params, env):
                         logging.debug("Could not re-login, reboot the guest")
                         session = vm.reboot(method="system_reset")
                 else:
-                    raise error.TestFail("VM has quit abnormally during %s",
-                                         (op, operand))
+                    raise error.TestFail("VM has quit abnormally during "
+                                         "%s: %s" % (op, operand))
 
 
     login_timeout = float(params.get("login_timeout", 240))
-- 
1.7.4.2


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-04-10 20:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-10 20:44 [PATCH] KVM test: iofuzz: Fix exception formatting bug Lucas Meneghel Rodrigues

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.