From 97ee4aadc56ed7792e13803a113eee61803b7ada Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 21 Aug 2015 11:34:56 +0200 Subject: tests: check apt-get source release name switching with -t Git-Dch: Ignore --- test/integration/test-apt-get-source | 9 +++++++++ 1 file changed, 9 insertions(+) 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 -- cgit v1.2.3