From patchwork Sun Apr 10 20:44:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 696991 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3AKiJGv007167 for ; Sun, 10 Apr 2011 20:44:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754930Ab1DJUoR (ORCPT ); Sun, 10 Apr 2011 16:44:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:3161 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754414Ab1DJUoQ (ORCPT ); Sun, 10 Apr 2011 16:44:16 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3AKiFKm018672 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 10 Apr 2011 16:44:15 -0400 Received: from freedom.redhat.com (vpn-8-90.rdu.redhat.com [10.11.8.90]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p3AKiDDU020167; Sun, 10 Apr 2011 16:44:14 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH] KVM test: iofuzz: Fix exception formatting bug Date: Sun, 10 Apr 2011 17:44:11 -0300 Message-Id: <1302468251-5914-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 10 Apr 2011 20:44:20 +0000 (UTC) Show both operation and operand when VM quits abnormally. Signed-off-by: Lucas Meneghel Rodrigues --- 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))