From patchwork Mon Jun 7 09:04:40 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Yang X-Patchwork-Id: 104658 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 o5794lTC021219 for ; Mon, 7 Jun 2010 09:04:47 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753516Ab0FGJEp (ORCPT ); Mon, 7 Jun 2010 05:04:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36733 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755220Ab0FGJEo (ORCPT ); Mon, 7 Jun 2010 05:04:44 -0400 Received: from int-mx05.intmail.prod.int.phx2.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.18]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o5794hOf010642 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Jun 2010 05:04:43 -0400 Received: from localhost.localdomain (dhcp-91-72.nay.redhat.com [10.66.91.72]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5794ekL014375; Mon, 7 Jun 2010 05:04:41 -0400 From: Feng Yang To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Feng Yang Subject: [Autotest][PATCH] KVM Test: Remove qemu prompt from send_monitor_cmd return data. Date: Mon, 7 Jun 2010 17:04:40 +0800 Message-Id: <1275901480-17015-1-git-send-email-fyang@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.18 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]); Mon, 07 Jun 2010 09:04:47 +0000 (UTC) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index 3943207..9f9f697 100755 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm/kvm_vm.py @@ -645,6 +645,7 @@ class VM: "output so far:" + kvm_utils.format_str_for_message(data)) return (1, data) + data = "".join(data.rstrip().splitlines(True)[:-1]) return (0, data) # Clean up before exiting