From patchwork Tue Dec 8 02:59:02 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lucas Meneghel Rodrigues X-Patchwork-Id: 65614 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 nB82xXgQ007218 for ; Tue, 8 Dec 2009 02:59:33 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965445AbZLHC7V (ORCPT ); Mon, 7 Dec 2009 21:59:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965421AbZLHC7V (ORCPT ); Mon, 7 Dec 2009 21:59:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:1026 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965411AbZLHC7V (ORCPT ); Mon, 7 Dec 2009 21:59:21 -0500 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id nB82xR4O005417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 7 Dec 2009 21:59:27 -0500 Received: from localhost.localdomain (vpn-11-165.rdu.redhat.com [10.11.11.165]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id nB82xBsn014907; Mon, 7 Dec 2009 21:59:26 -0500 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, mgoldish@redhat.com, Lucas Meneghel Rodrigues Subject: [PATCH 2/5] KVM test: Unattended script: Make qemu_img_bin come from test params Date: Tue, 8 Dec 2009 00:59:02 -0200 Message-Id: <1260241145-19029-2-git-send-email-lmr@redhat.com> In-Reply-To: <1260241145-19029-1-git-send-email-lmr@redhat.com> References: <1260241145-19029-1-git-send-email-lmr@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org diff --git a/client/tests/kvm/scripts/unattended.py b/client/tests/kvm/scripts/unattended.py index 2667649..562d317 100755 --- a/client/tests/kvm/scripts/unattended.py +++ b/client/tests/kvm/scripts/unattended.py @@ -53,7 +53,7 @@ class UnattendedInstall(object): cdrom_iso = os.environ['KVM_TEST_cdrom'] self.unattended_file = os.environ['KVM_TEST_unattended_file'] - self.qemu_img_bin = os.path.join(kvm_test_dir, 'qemu-img') + self.qemu_img_bin = os.environ['KVM_TEST_qemu_img_binary'] self.cdrom_iso = os.path.join(kvm_test_dir, cdrom_iso) self.floppy_mount = tempfile.mkdtemp(prefix='floppy_', dir='/tmp') self.cdrom_mount = tempfile.mkdtemp(prefix='cdrom_', dir='/tmp')