From: Ian Jackson Date: Mon, 7 Nov 2016 02:59:13 +0000 (+0000) Subject: Test suite: reprepro: Test multisuite with package absent in suite X-Git-Tag: archive/debian/2.10~20 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=9f4e6d4971ba3f1fa8b740df7c400fa3a45fc875 Test suite: reprepro: Test multisuite with package absent in suite It is convenient to do this in this test case, particularly as that lets us check that our apt-get method handles missing packages properly. Signed-off-by: Ian Jackson --- diff --git a/tests/tests/clone-reprepro b/tests/tests/clone-reprepro index 13132890..56dc33d7 100755 --- a/tests/tests/clone-reprepro +++ b/tests/tests/clone-reprepro @@ -3,6 +3,8 @@ set -e . tests/lib . $troot/lib-reprepro +suitespecs+=' stable' + t-dependencies reprepro t-reprepro @@ -14,4 +16,17 @@ t-dgit clone $p cd $p t-cloned-fetched-good +add_pari () { + local p + local v + local suite=stable + t-archive pari-extra 3-1 +} +add_pari + +t-dgit fetch unstable,stable + +t-refs-same-start +t-refs-same refs/remotes/dgit/sid,stable refs/remotes/dgit/sid + echo ok.