summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-08-21 11:34:56 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-08-27 11:24:07 +0200
commit97ee4aadc56ed7792e13803a113eee61803b7ada (patch)
tree81c7a2d6df9246af32af7132ea5f3d731a3ce5de /test/integration
parenta6deb7a0ea70e945dfd750d1bdc1b783b187873e (diff)
tests: check apt-get source release name switching with -t
Git-Dch: Ignore
Diffstat (limited to 'test/integration')
-rwxr-xr-xtest/integration/test-apt-get-source9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/integration/test-apt-get-source b/test/integration/test-apt-get-source
index 22f01b997..03320754b 100755
--- a/test/integration/test-apt-get-source
+++ b/test/integration/test-apt-get-source
@@ -50,11 +50,20 @@ $DOWNLOAD1" aptget source -q --print-uris foo/stable
testsuccessequal "$HEADER
Selected version '2.0' (unstable) for foo
$DOWNLOAD2" aptget source -q --print-uris foo/unstable
+testsuccessequal "$HEADER
+Selected version '1.0' (stable) for foo
+$DOWNLOAD1" aptget source -q --print-uris foo -t stable
+testsuccessequal "$HEADER
+Selected version '2.0' (unstable) for foo
+$DOWNLOAD2" aptget source -q --print-uris foo -t unstable
# select by release: codename
testsuccessequal "$HEADER
Selected version '2.0' (sid) for foo
$DOWNLOAD2" aptget source -q --print-uris foo/sid
+testsuccessequal "$HEADER
+Selected version '2.0' (sid) for foo
+$DOWNLOAD2" aptget source -q --print-uris foo -t sid
# select by version
testsuccessequal "$HEADER