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/dir-a-b.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/dir-a-b.test')
-rw-r--r-- | test/dir-a-b.test | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dir-a-b.test b/test/dir-a-b.test index d921079..326d482 100644 --- a/test/dir-a-b.test +++ b/test/dir-a-b.test @@ -21,8 +21,8 @@ $ echo "ab.diff" > patches/series $ quilt push -q - > Applying patch patches/ab.diff - > Now at patch patches/ab.diff + > Applying patch %{P}ab.diff + > Now at patch %{P}ab.diff $ quilt diff -p ab --no-index > --- a/test.txt @@ -41,7 +41,7 @@ $ rm -f patches/ab.diff $ quilt refresh -p ab --no-index - > Refreshed patch patches/ab.diff + > Refreshed patch %{P}ab.diff $ cat patches/ab.diff > --- a/test.txt @@ -59,5 +59,5 @@ > -d $ quilt pop -qR - > Removing patch patches/ab.diff + > Removing patch %{P}ab.diff > No patches applied |