summaryrefslogtreecommitdiff
path: root/quilt/patches/fix-test-setup
blob: 86b3c23ae76f532ae09f5e4dd93f5d09f923a3e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Subject: avoid test failure in setup.test by hardcoding QUILT_PATCHES

Without this patch, quilt setup would try to use debian/patches instead
of patches and would fail. This is because quilt now initializes
QUILT_PATCHES by looking up parent directories and it would find
.pc/.quilt_patches of the debian source package.

The right upstream fix is probably to hardcode the location in quilt setup
but until that is approved, this fix is less intrusive and doesn't change
the behaviour of quilt setup.

Bug-Debian: http://bugs.debian.org/573689

--- a/test/setup.test
+++ b/test/setup.test
@@ -1,3 +1,4 @@
+$ export QUILT_PATCHES=patches
 $ mkdir dir
 
 $ echo 1 > dir/foo.orig