test-patches: Clean up all previous test patches, whether or not they were applied

svn path=/dists/sid/linux/; revision=19895
This commit is contained in:
Ben Hutchings 2013-03-03 23:40:22 +00:00
parent c1825fe416
commit 63ad08c556
2 changed files with 5 additions and 2 deletions

View File

@ -63,8 +63,9 @@ alias quilt='quilt --quiltrc -'
# Try to clean up any previous test patches
if [ "$featureset" = none ]; then
while quilt top 2>/dev/null | grep -q ^test/; do
quilt delete
while patch="$(quilt next 2>/dev/null || quilt top 2>/dev/null)" && \
[ "${patch#test/}" != "$patch" ]; do
quilt delete -r "$patch"
done
else
sed -i '/^test\//d' debian/patches/series-${featureset}

2
debian/changelog vendored
View File

@ -12,6 +12,8 @@ linux (3.2.39-3) UNRELEASED; urgency=low
* [x86] ata_piix: reenable MS Virtual PC guests (fixes regression in
3.2.19-1)
* vhost: fix length for cross region descriptor (CVE-2013-0311)
* test-patches: Clean up all previous test patches, whether or not they
were applied
-- Ben Hutchings <ben@decadent.org.uk> Wed, 27 Feb 2013 03:48:30 +0000