From 9f4e6d4971ba3f1fa8b740df7c400fa3a45fc875 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Nov 2016 02:59:13 +0000 Subject: 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 --- tests/tests/clone-reprepro | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'tests/tests/clone-reprepro') diff --git a/tests/tests/clone-reprepro b/tests/tests/clone-reprepro index 1313289..56dc33d 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. -- cgit v1.2.3