From patchwork Wed Feb 3 13:27:39 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Uri Lublin X-Patchwork-Id: 76704 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o13DRrOS030110 for ; Wed, 3 Feb 2010 13:27:53 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755635Ab0BCN1w (ORCPT ); Wed, 3 Feb 2010 08:27:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:59360 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754685Ab0BCN1v (ORCPT ); Wed, 3 Feb 2010 08:27:51 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o13DRo33008431 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 3 Feb 2010 08:27:50 -0500 Received: from localhost.localdomain (dhcp-0-156.tlv.redhat.com [10.35.0.156]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o13DRm59011511; Wed, 3 Feb 2010 08:27:49 -0500 From: Uri Lublin To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: lmr@redhat.com Subject: [PATCH AUTOTEST] kvm: timedrift test: fix typo (host_delta_t) Date: Wed, 3 Feb 2010 15:27:39 +0200 Message-Id: <1265203659-30210-1-git-send-email-uril@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 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.3 (demeter.kernel.org [140.211.167.41]); Wed, 03 Feb 2010 13:27:53 +0000 (UTC) diff --git a/client/tests/kvm/tests/timedrift.py b/client/tests/kvm/tests/timedrift.py index b3e8770..06f6a70 100644 --- a/client/tests/kvm/tests/timedrift.py +++ b/client/tests/kvm/tests/timedrift.py @@ -160,7 +160,7 @@ def run_timedrift(test, params, env): # Report results host_delta_total = ht2 - ht0 guest_delta_total = gt2 - gt0 - drift_total = 100.0 * (host_delta_total - guest_delta_total) / host_delta + drift_total = 100.0 * (host_delta_total - guest_delta_total) / host_delta_total logging.info("Total host duration including rest: %.2f" % host_delta_total) logging.info("Total guest duration including rest: %.2f" % guest_delta_total) logging.info("Total drift after rest: %.2f%%" % drift_total)