From 07aca07ae73016aa7823e708dda746eec8346989 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Tue, 26 Jan 2016 21:09:47 +0100 Subject: get sources for packages in multiple releases again MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In 321213f0dcdcdaab04e01663e7a047b261400c9c Andreas Cadhalpun corrected the incorrect overriding of earlier better-fitting results with later (semi-)matches – but that broke the case in which packages are in multiple releases in the same version (and the user has both releases configured). Closes: 812497 --- test/integration/test-apt-get-source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/integration/test-apt-get-source') diff --git a/test/integration/test-apt-get-source b/test/integration/test-apt-get-source index 10a190b6c..4b5375d0c 100755 --- a/test/integration/test-apt-get-source +++ b/test/integration/test-apt-get-source @@ -16,8 +16,8 @@ insertpackage 'unstable' 'foo' 'all' '2.0' insertsource 'unstable' 'foo' 'all' '2.0' # binary packages with Source-field -insertpackage 'unstable' 'bin' 'i386' '3-2+b1' 'Source: bin (3-2)' -insertsource 'unstable' 'bin' 'any' '3-2' +insertpackage 'unstable,testing' 'bin' 'i386' '3-2+b1' 'Source: bin (3-2)' +insertsource 'unstable,testing' 'bin' 'any' '3-2' insertpackage 'stable' 'bin' 'i386' '2-2+b1' 'Source: bin-backport (2-2)' insertsource 'stable' 'bin-backport' 'any' '2-2' -- cgit v1.2.3-70-g09d2