diff options
author | Jean Delvare <jdelvare@suse.de> | 2017-05-09 16:54:48 +0200 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2017-05-09 16:54:48 +0200 |
commit | 1d8867cd1fac531f576ad3a9a7eea4eef3ab8ed0 (patch) | |
tree | 727c431232cd03769b62b58372b1c937e4275b1e /test/header.test | |
parent | ce137ed78de177a92a867979cdea8aabc9e43a32 (diff) | |
download | quilt-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.test | 10 |
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 |