summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-12-04 16:26:57 +0100
committerMichael Vogt <mvo@debian.org>2013-12-04 16:26:57 +0100
commitc6b83f9c68aafa3f2bd1b695a6beb724d7520bc5 (patch)
tree798a5dbe4f1314321d6063a616ab5526fb1a15c9 /test/integration
parent4652a9eee39df1cefa49ab177c0cfc50b9aad567 (diff)
add test for aptget source for unavailable package
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 0f9e29c80..5bef781f1 100755
--- a/test/integration/test-apt-get-source
+++ b/test/integration/test-apt-get-source
@@ -53,3 +53,8 @@ Need to get 0 B of source archives.
'file://${APTARCHIVE}/foo_0.1.dsc' foo_0.1.dsc 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e
'file://${APTARCHIVE}/foo_0.1.tar.gz' foo_0.1.tar.gz 0 MD5Sum:d41d8cd98f00b204e9800998ecf8427e" aptget source -q --print-uris foo/wheezy
+# unavailable one
+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
+