summaryrefslogtreecommitdiffstats
path: root/test/project-settings.test
blob: c0122531add457181082f8d6e9f7c9128a36679d (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 %{QUILT_PC}
$ echo 2 > %{QUILT_PC}/.version
$ echo quilt_patches > %{QUILT_PC}/.quilt_patches
$ echo quilt_series > %{QUILT_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