summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-12-10 17:09:56 +0100
committerMichael Vogt <mvo@debian.org>2013-12-10 17:09:56 +0100
commit65dcff55dc5c9b47230d340a70c5067921eec4bf (patch)
treebe699c96bd6217bdbe59bcb7dcdea5ad4419b4c5 /test/integration
parentbfa7bfc8e426f662ee5a5d0fcba3daeea23fe2ae (diff)
user-requested version tag gets precedence in apt-get source -t dist pkg=version requests
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-apt-get-source5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/test-apt-get-source b/test/integration/test-apt-get-source
index b98ebbada..c8db4edbe 100755
--- a/test/integration/test-apt-get-source
+++ b/test/integration/test-apt-get-source
@@ -65,3 +65,8 @@ testequal "$HEADER
E: Ignore unavailable version '9.9-not-there' of package 'foo'
E: Unable to find a source package for foo" aptget source -q --print-uris foo=9.9-not-there
+# version and release
+testequal "$HEADER
+Need to get 0 B of source archives.
+'file://${APTARCHIVE}/foo_0.0.1.dsc' foo_0.0.1.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
+'file://${APTARCHIVE}/foo_0.0.1.tar.gz' foo_0.0.1.tar.gz 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e" aptget source -q --print-uris -t unstable foo=0.0.1