summaryrefslogtreecommitdiffstats
path: root/test/refresh.test
Commit message (Collapse)AuthorAgeFilesLines
* test: Consistently use %{P} and %{_P}Jean Delvare2017-05-091-4/+4
| | | | | | | | | | | 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>
* refresh: Accept refreshing empty patchesJean Delvare2012-12-131-0/+22
If told to refresh a patch and the patch is empty, still obey. The user should know what he/she is doing. If the patch was non-empty before, we must erase it, otherwise a subsequent pop will fail, complaining that the patch should be refreshed.