From patchwork Mon Apr 18 22:40:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 716621 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p3IMet1w024633 for ; Mon, 18 Apr 2011 22:40:55 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753316Ab1DRWky (ORCPT ); Mon, 18 Apr 2011 18:40:54 -0400 Received: from mx1.redhat.com ([209.132.183.28]:4398 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753161Ab1DRWkx (ORCPT ); Mon, 18 Apr 2011 18:40:53 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id p3IMeqJs031961 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 18 Apr 2011 18:40:52 -0400 Received: from freedom.redhat.com (vpn-10-142.rdu.redhat.com [10.11.10.142]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id p3IMemIA003557; Mon, 18 Apr 2011 18:40:51 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 1/5] KVM test: Fix incorrect CdromDisk instantiation when distro is OpenSUSE Date: Mon, 18 Apr 2011 19:40:41 -0300 Message-Id: <1303166445-17898-2-git-send-email-lmr@redhat.com> In-Reply-To: <1303166445-17898-1-git-send-email-lmr@redhat.com> References: <1303166445-17898-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 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.6 (demeter1.kernel.org [140.211.167.41]); Mon, 18 Apr 2011 22:40:55 +0000 (UTC) We need to pass an additional tmpdir param to the class initialization. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/tests/unattended_install.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/client/tests/kvm/tests/unattended_install.py b/client/tests/kvm/tests/unattended_install.py index c7e19da..2d58cf2 100644 --- a/client/tests/kvm/tests/unattended_install.py +++ b/client/tests/kvm/tests/unattended_install.py @@ -376,7 +376,7 @@ class UnattendedInstallConfig(object): # SUSE autoyast install dest_fname = "autoinst.xml" if self.cdrom_unattended: - boot_disk = CdromDisk(self.cdrom_unattended) + boot_disk = CdromDisk(self.cdrom_unattended, self.tmpdir) elif self.floppy: boot_disk = FloppyDisk(self.floppy, self.qemu_img_binary, self.tmpdir)