From: Lucas Meneghel Rodrigues Subject: [PATCH 1/2] virt.kvm_installer: Don't fail a test if virtfs_proxy is not defined Date: Mon, 14 May 2012 20:49:34 -0300 Message-ID: <1337039375-15244-2-git-send-email-lmr@redhat.com> References: <1337039375-15244-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: autotest@test.kernel.org Return-path: In-Reply-To: <1337039375-15244-1-git-send-email-lmr@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: autotest-bounces@test.kernel.org Errors-To: autotest-bounces@test.kernel.org List-Id: kvm.vger.kernel.org This userspace program is not shipped on a regular qemu source code checkout, so its absence doesn't need to fail a test. Signed-off-by: Lucas Meneghel Rodrigues --- client/virt/kvm_installer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/virt/kvm_installer.py b/client/virt/kvm_installer.py index a5c2747..b975f31 100644 --- a/client/virt/kvm_installer.py +++ b/client/virt/kvm_installer.py @@ -209,7 +209,7 @@ class KVMBaseInstaller(base_installer.BaseInstaller): if qemu_fs_proxy_bin is not None: os.symlink(qemu_fs_proxy_bin, qemu_fs_proxy_dst) else: - raise error.TestError('Invalid qemu fs proxy path') + logging.warning('Qemu fs proxy path %s not found on source dir') def _install_phase_init(self): -- 1.7.10.1