From 1d8867cd1fac531f576ad3a9a7eea4eef3ab8ed0 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 9 May 2017 16:54:48 +0200 Subject: 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 --- test/dotglob.test | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'test/dotglob.test') 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 -- cgit