From patchwork Thu Jun 25 15:54:25 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yolkfull Chow X-Patchwork-Id: 32407 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n5PFtLd8030897 for ; Thu, 25 Jun 2009 15:55:21 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755252AbZFYPyc (ORCPT ); Thu, 25 Jun 2009 11:54:32 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754129AbZFYPyb (ORCPT ); Thu, 25 Jun 2009 11:54:31 -0400 Received: from mx2.redhat.com ([66.187.237.31]:58210 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752826AbZFYPya (ORCPT ); Thu, 25 Jun 2009 11:54:30 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n5PFsXgC019109; Thu, 25 Jun 2009 11:54:33 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id n5PFsWGk007667; Thu, 25 Jun 2009 11:54:32 -0400 Received: from localhost.localdomain (vpn-10-148.bos.redhat.com [10.16.10.148]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n5PFsRlV028018; Thu, 25 Jun 2009 11:54:29 -0400 Message-ID: <4A439DB1.9040701@redhat.com> Date: Thu, 25 Jun 2009 23:54:25 +0800 From: Yolkfull Chow User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b5pre) Gecko/20090513 Fedora/3.0-2.4.b3pre.hg.6a6386c16e98.fc11 Thunderbird/3.0b3pre MIME-Version: 1.0 To: kvm@vger.kernel.org, autotest@test.kernel.org CC: Lucas Meneghel Rodrigues , Michael Goldish Subject: [KVM-AUTOTEST PATCH] bugfix for changing kvm_log to logging References: <1245187799-7757-1-git-send-email-lmr@redhat.com> In-Reply-To: <1245187799-7757-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org elif match == 5: # prompt --- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py index 4c7bae4..26ae46f 100644 --- a/client/tests/kvm/kvm.py +++ b/client/tests/kvm/kvm.py @@ -73,7 +73,7 @@ class kvm(test.test): resource.setrlimit(resource.RLIMIT_CORE, (-1, -1)) # Set the logging prefix - #kvm_log.set_prefix(params.get("shortname")) + #logging.set_prefix(params.get("shortname")) # Report the parameters we've received and write them as keyvals logging.debug("Test parameters:") diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py index 4bc8dc7..a37d322 100644 --- a/client/tests/kvm/kvm_utils.py +++ b/client/tests/kvm/kvm_utils.py @@ -670,7 +670,7 @@ def remote_login(command, password, prompt, linesep="\n", timeout=10): sub.close() return None elif match == 4: # "Connection refused" - kvm_log.debug("Got 'Connection refused'") + logging.debug("Got 'Connection refused'") sub.close() return None