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/dotglob.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/dotglob.test')
-rw-r--r-- | test/dotglob.test | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/dotglob.test b/test/dotglob.test index d190226..04d28c4 100644 --- a/test/dotglob.test +++ b/test/dotglob.test @@ -1,19 +1,19 @@ $ mkdir patches $ quilt new dotglob.diff - > Patch patches/dotglob.diff is now on top + > Patch %{P}dotglob.diff is now on top $ quilt add .foo - > File .foo added to patch patches/dotglob.diff + > File .foo added to patch %{P}dotglob.diff $ echo dot-foo > .foo $ quilt refresh - > Refreshed patch patches/dotglob.diff + > Refreshed patch %{P}dotglob.diff $ quilt pop -q - > Removing patch patches/dotglob.diff + > Removing patch %{P}dotglob.diff > No patches applied $ quilt push -q - > Applying patch patches/dotglob.diff - > Now at patch patches/dotglob.diff + > Applying patch %{P}dotglob.diff + > Now at patch %{P}dotglob.diff |