From mboxrd@z Thu Jan 1 00:00:00 1970 From: 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> References: <1302455423-32116-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: <1302455423-32116-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 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 -- 1.7.4.2