From patchwork Sun Apr 10 17:10:23 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: 696881 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 p3AHAhM7026998 for ; Sun, 10 Apr 2011 17:10:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755351Ab1DJRKj (ORCPT ); Sun, 10 Apr 2011 13:10:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:61198 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755438Ab1DJRKg (ORCPT ); Sun, 10 Apr 2011 13:10:36 -0400 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.14.4/8.14.4) with ESMTP id p3AHAZhW010435 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 10 Apr 2011 13:10:35 -0400 Received: from freedom.redhat.com (vpn-8-90.rdu.redhat.com [10.11.8.90]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p3AHAPH3016247; Sun, 10 Apr 2011 13:10:34 -0400 From: Lucas Meneghel Rodrigues To: autotest@test.kernel.org Cc: kvm@vger.kernel.org, Lucas Meneghel Rodrigues Subject: [PATCH 5/5] KVM test: installer: Fix bug on patch applying code Date: Sun, 10 Apr 2011 14:10:23 -0300 Message-Id: <1302455423-32116-5-git-send-email-lmr@redhat.com> In-Reply-To: <1302455423-32116-1-git-send-email-lmr@redhat.com> References: <1302455423-32116-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 X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Sun, 10 Apr 2011 17:10:44 +0000 (UTC) Patch command was missing <, let's fix it. Signed-off-by: Lucas Meneghel Rodrigues --- client/tests/kvm/installer.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/tests/kvm/installer.py b/client/tests/kvm/installer.py index 6ccb7fa..8026d6d 100644 --- a/client/tests/kvm/installer.py +++ b/client/tests/kvm/installer.py @@ -680,7 +680,7 @@ class GitInstaller(SourceDirInstaller): for patch in user_patches: utils.get_file(patch, os.path.join(self.userspace_srcdir, os.path.basename(patch))) - utils.system('patch -p1 %s' % os.path.basename(patch)) + utils.system('patch -p1 < %s' % os.path.basename(patch)) if kernel_repo: kernel_srcdir = os.path.join(self.srcdir, "kvm") @@ -692,7 +692,7 @@ class GitInstaller(SourceDirInstaller): for patch in kernel_patches: utils.get_file(patch, os.path.join(self.userspace_srcdir, os.path.basename(patch))) - utils.system('patch -p1 %s' % os.path.basename(patch)) + utils.system('patch -p1 < %s' % os.path.basename(patch)) else: self.kernel_srcdir = None @@ -706,7 +706,7 @@ class GitInstaller(SourceDirInstaller): for patch in kmod_patches: utils.get_file(patch, os.path.join(self.userspace_srcdir, os.path.basename(patch))) - utils.system('patch -p1 %s' % os.path.basename(patch)) + utils.system('patch -p1 < %s' % os.path.basename(patch)) else: self.kmod_srcdir = None