diff options
author | Michael Vogt <mvo@debian.org> | 2013-12-10 16:43:25 +0100 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2013-12-10 16:43:25 +0100 |
commit | 66f13784f0a05bbd60106d21447f10273c68b0d8 (patch) | |
tree | 776033c93cc3154fed9ede96e0df23bdd91ea507 /test | |
parent | 651ae5ce5f376ae5274933c621a3b897ac5152a6 (diff) |
improve test for #731853 and comments
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-apt-get-source | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/integration/test-apt-get-source b/test/integration/test-apt-get-source index 6bca22145..e2536ae7a 100755 --- a/test/integration/test-apt-get-source +++ b/test/integration/test-apt-get-source @@ -15,13 +15,15 @@ insertpackage 'wheezy' 'unreleated-package' 'all' '1.0' insertpackage 'unstable' 'foo' 'all' '2.0' insertsource 'unstable' 'foo' 'all' '2.0' -# its possible to have multiple src versions in the sources file, do not break -# in this case (bts #731853) +# its possible to have multiple src versions in the sources file, ensure +# to pick the correct one in this case (bts #731853) insertsource 'stable' 'foo' 'all' '1.5' +insertsource 'stable' 'foo' 'all' '0.5' insertpackage 'stable' 'foo' 'all' '1.0' insertsource 'stable' 'foo' 'all' '1.0' -# this packages exists only as source +# this packages exists only as sources, add two versions to ensure that +# apt will pick the higher version number (bts #731853) insertsource 'wheezy' 'foo' 'all' '0.0.1' insertsource 'wheezy' 'foo' 'all' '0.1' |