summaryrefslogtreecommitdiffstats
path: root/test/header.test
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2017-05-09 16:54:48 +0200
committerJean Delvare <jdelvare@suse.de>2017-05-09 16:54:48 +0200
commit1d8867cd1fac531f576ad3a9a7eea4eef3ab8ed0 (patch)
tree727c431232cd03769b62b58372b1c937e4275b1e /test/header.test
parentce137ed78de177a92a867979cdea8aabc9e43a32 (diff)
downloadquilt-1d8867cd1fac531f576ad3a9a7eea4eef3ab8ed0.tar.gz
test: Consistently use %{P} and %{_P}
There is no point in defining P and _P in the Makefile to allow for QUILT_PATCHES_PREFIX to be set or unset if we do not use these variables consistently in the test suite. Replace hardcoded "patches/" with %{P} or %{_P} throughout the test suite wherever relevant so that unsetting QUILT_PATCHES_PREFIX in test.quiltrc actually works. Signed-off-by: Jean Delvare <jdelvare@suse.de>
Diffstat (limited to 'test/header.test')
-rw-r--r--test/header.test10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/header.test b/test/header.test
index 7e0cbca..fdc6e47 100644
--- a/test/header.test
+++ b/test/header.test
@@ -2,14 +2,14 @@
$ echo foo > foo
$ quilt new patch
- > Patch patches/patch is now on top
+ > Patch %{P}patch is now on top
$ quilt add foo
- > File foo added to patch patches/patch
+ > File foo added to patch %{P}patch
$ echo bar > foo
$ quilt refresh -p ab
- > Refreshed patch patches/patch
+ > Refreshed patch %{P}patch
$ mv patches/patch patches/patch~
$ echo Header > patches/patch
@@ -19,14 +19,14 @@
$ quilt header -r
< Header2
- > Replaced header of patch patches/patch
+ > Replaced header of patch %{P}patch
$ quilt header
> Header2
$ quilt header -a
< Appended
- > Appended text to header of patch patches/patch
+ > Appended text to header of patch %{P}patch
$ quilt header
> Header2