chiark / gitweb /
Test suite: reprepro: Test multisuite with package absent in suite
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 7 Nov 2016 02:59:13 +0000 (02:59 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 7 Nov 2016 02:59:13 +0000 (02:59 +0000)
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 <ijackson@chiark.greenend.org.uk>
tests/tests/clone-reprepro

index 13132890be6cc7967c0cc6cd015a225f56cbea3f..56dc33d7c87e004b3e2477ba60394a7d34545604 100755 (executable)
@@ -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.