[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Quilt-dev] [patch 2/3] import.test: always have a local patches-dir
From: |
Wolfram Sang |
Subject: |
[Quilt-dev] [patch 2/3] import.test: always have a local patches-dir |
Date: |
Sat, 11 Oct 2008 15:47:22 +0200 |
User-agent: |
quilt/0.47-1 |
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