summaryrefslogtreecommitdiffstats
path: root/test/project-settings.test
blob: 0f6ba3fa194327a3b342e1710f204f27e54353f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Project settings should take precedence over user settings
$ export QUILT_PATCHES=my_patches
$ export QUILT_SERIES=my_series

$ mkdir quilt_patches
$ mkdir .pc
$ echo 2 > .pc/.version
$ echo quilt_patches > .pc/.quilt_patches
$ echo quilt_series > .pc/.quilt_series
$ echo create.patch > quilt_patches/quilt_series

$ cat > quilt_patches/create.patch
< --- a/file
< +++ b/file
< @@ -0,0 +1 @@
< +new line

$ quilt push
>~ Applying patch (quilt_patches/)?create.patch
> patching file file
>
>~ Now at patch (quilt_patches/)?create.patch