summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-02-12 07:59:07 +0100
committerMichael Vogt <mvo@debian.org>2014-02-12 07:59:07 +0100
commit8f3594c3487800edc2a97af1f3290049776dc556 (patch)
tree3b6399c3e98856708e37914ad48f6ee9002011fb /test/integration
parent33b813ce44c7bafeb2a36b66fd004f8d94a2cbe4 (diff)
Use a APT::VersionSet instead of a VersionList
Use a APT::VersionSet instead of a APT::VersionList in DoDownload() to ensure that there is only one version in the set even if the user passes multiple identical name/versions on the commandline (Bug#738103)
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-apt-get-download5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/test-apt-get-download b/test/integration/test-apt-get-download
index c2a5c3d8e..0d92283f1 100755
--- a/test/integration/test-apt-get-download
+++ b/test/integration/test-apt-get-download
@@ -39,3 +39,8 @@ aptget download apt
aptget download apt
testsuccess test -s apt_2.0_all.deb
rm -f apt_1.0_all.deb
+
+# deb:738103 - apt-get download foo foo fails
+rm -f apt_*.deb
+aptget download apt apt
+testsuccess test -s apt_2.0_all.deb