From patchwork Thu Oct 15 10:13:57 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 54002 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 n9FAN5BJ025773 for ; Thu, 15 Oct 2009 10:23:05 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756745AbZJOKRi (ORCPT ); Thu, 15 Oct 2009 06:17:38 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756903AbZJOKRi (ORCPT ); Thu, 15 Oct 2009 06:17:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51899 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755746AbZJOKRh (ORCPT ); Thu, 15 Oct 2009 06:17:37 -0400 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 n9FAH8O3025173; Thu, 15 Oct 2009 06:17:08 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9FAH7Bc003290; Thu, 15 Oct 2009 06:17:08 -0400 Received: from localhost.localdomain (dhcp-1-188.tlv.redhat.com [10.35.1.188]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n9FAH1x3004569; Thu, 15 Oct 2009 06:17:06 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH 3/3] KVM test: modify messages in kvm_test_utils.wait_for_login() Date: Thu, 15 Oct 2009 12:13:57 +0200 Message-Id: <1255601637-6355-3-git-send-email-mgoldish@redhat.com> In-Reply-To: <1255601637-6355-2-git-send-email-mgoldish@redhat.com> References: <1255601637-6355-1-git-send-email-mgoldish@redhat.com> <1255601637-6355-2-git-send-email-mgoldish@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 diff --git a/client/tests/kvm/kvm_test_utils.py b/client/tests/kvm/kvm_test_utils.py index e51520a..bf8aed2 100644 --- a/client/tests/kvm/kvm_test_utils.py +++ b/client/tests/kvm/kvm_test_utils.py @@ -52,12 +52,12 @@ def wait_for_login(vm, nic_index=0, timeout=240, start=0, step=2): @param timeout: Time to wait before giving up. @return: A shell session object. """ - logging.info("Try to login to guest '%s'..." % vm.name) + logging.info("Trying to log into guest '%s'..." % vm.name) session = kvm_utils.wait_for(lambda: vm.remote_login(nic_index=nic_index), timeout, start, step) if not session: raise error.TestFail("Could not log into guest '%s'" % vm.name) - logging.info("Logged in '%s'" % vm.name) + logging.info("Logged into guest '%s'" % vm.name) return session