Просмотр исходного кода

tests: check apt-get source release name switching with -t

Git-Dch: Ignore
David Kalnischkies лет назад: 11
Родитель
Сommit
97ee4aadc5
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      test/integration/test-apt-get-source

+ 9 - 0
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