From patchwork Wed Dec 30 09:47:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yolkfull Chow X-Patchwork-Id: 70219 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBU9lU0k027483 for ; Wed, 30 Dec 2009 09:47:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752437AbZL3Jr3 (ORCPT ); Wed, 30 Dec 2009 04:47:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752389AbZL3Jr3 (ORCPT ); Wed, 30 Dec 2009 04:47:29 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36302 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752369AbZL3Jr2 (ORCPT ); Wed, 30 Dec 2009 04:47:28 -0500 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nBU9lQPX017735 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 30 Dec 2009 04:47:27 -0500 Received: from localhost.localdomain (dhcp-65-181.nay.redhat.com [10.66.65.181]) by int-mx04.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nBU9lOSn006397; Wed, 30 Dec 2009 04:47:25 -0500 From: Yolkfull Chow To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Yolkfull Chow Subject: [AUTOTEST PATCH 1/2] KVM-test: Fix a bug that about list slice in scan_results.py Date: Wed, 30 Dec 2009 17:47:24 +0800 Message-Id: <1262166445-7759-1-git-send-email-yzhou@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.17 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/client/tests/kvm/scan_results.py b/client/tests/kvm/scan_results.py index f7bafa9..1daff2f 100755 --- a/client/tests/kvm/scan_results.py +++ b/client/tests/kvm/scan_results.py @@ -45,6 +45,7 @@ def parse_results(text): # Found a FAIL/ERROR/GOOD line -- get failure/success info elif (len(parts) >= 6 and parts[3].startswith("timestamp") and parts[4].startswith("localtime")): + info_list.append("") info_list[-1] = parts[5] return result_list