diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 02:59:13 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-11-07 02:59:13 +0000 |
commit | 9f4e6d4971ba3f1fa8b740df7c400fa3a45fc875 (patch) | |
tree | 784fe2efa2e08cbb1cb5aefc3a3058f7b0bee234 | |
parent | 25a9e1e9ae67689ea8c29cdf13713e578b3ca476 (diff) |
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 <ijackson@chiark.greenend.org.uk>
-rwxr-xr-x | tests/tests/clone-reprepro | 15 |
1 files changed, 15 insertions, 0 deletions
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. |