From patchwork Mon Jun 28 00:03:08 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Goldish X-Patchwork-Id: 108283 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5S03dMD018441 for ; Mon, 28 Jun 2010 00:03:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751563Ab0F1ADh (ORCPT ); Sun, 27 Jun 2010 20:03:37 -0400 Received: from mx1.redhat.com ([209.132.183.28]:36967 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751482Ab0F1ADg (ORCPT ); Sun, 27 Jun 2010 20:03:36 -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 o5S03ZIO029709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Jun 2010 20:03:36 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx05.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o5S03ZIJ000491; Sun, 27 Jun 2010 20:03:35 -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 o5S03X0l013795; Sun, 27 Jun 2010 20:03:33 -0400 From: Michael Goldish To: autotest@test.kernel.org, kvm@vger.kernel.org Cc: Michael Goldish Subject: [KVM-AUTOTEST PATCH] KVM test: kvm_vm.py: remove serial console file when VM is destroyed Date: Mon, 28 Jun 2010 03:03:08 +0300 Message-Id: <1277683389-31605-1-git-send-email-mgoldish@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, 28 Jun 2010 00:03:39 +0000 (UTC) diff --git a/client/tests/kvm/kvm_vm.py b/client/tests/kvm/kvm_vm.py index c5234c8..46b0aa3 100755 --- a/client/tests/kvm/kvm_vm.py +++ b/client/tests/kvm/kvm_vm.py @@ -717,7 +717,8 @@ class VM: self.process.close() if self.serial_console: self.serial_console.close() - for f in ([self.get_testlog_filename()] + + for f in ([self.get_testlog_filename(), + self.get_serial_console_filename()] + self.get_monitor_filenames()): try: os.unlink(f)