[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Quilt-dev] [patch 2/3] import.test: always have a local patches-dir
From: |
Dean Roehrich |
Subject: |
Re: [Quilt-dev] [patch 2/3] import.test: always have a local patches-dir |
Date: |
Fri, 31 Oct 2008 14:58:40 -0500 |
User-agent: |
Mutt/1.5.9i |
On Sat, Oct 11, 2008 at 03:47:22PM +0200, Wolfram Sang wrote:
> The test for import did not always recreate a patches-dir inside the temporary
> location, so it would fail if you modified quilt using quilt.
>
> Signed-off-by: Wolfram Sang <address@hidden>
> ---
> test/import.test | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> Index: quilt/test/import.test
> ===================================================================
> --- quilt.orig/test/import.test
> +++ quilt/test/import.test
> @@ -229,7 +229,8 @@
> > No patches applied
>
> # Test importing multiple patches at once
> - $ rm -rf .pc patches
> + $ rm -rf patches/ .pc/
> + $ mkdir patches
> $ quilt import t/patch1.diff t/patchR.diff
> > Importing patch t/patch1.diff (stored as patches/patch1.diff)
> > Importing patch t/patchR.diff (stored as patches/patchR.diff)
> @@ -238,7 +239,8 @@
> > patch1.diff
> > patchR.diff
>
> - $ rm -rf .pc patches
> + $ rm -rf patches/ .pc/
> + $ mkdir patches
> $ quilt import t/patchR.diff
> > Importing patch t/patchR.diff (stored as patches/patchR.diff)
> $ quilt import t/patch1.diff
>
I stumbled on this one, too, earlier this week. I'd forgotten about your
collection of patches, and made my own.
Andreas, it would be nice to have this one integrated.
Dean