diff options
Diffstat (limited to 'tests/tests/clone-reprepro')
-rwxr-xr-x | tests/tests/clone-reprepro | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/tests/tests/clone-reprepro b/tests/tests/clone-reprepro new file mode 100755 index 0000000..063a138 --- /dev/null +++ b/tests/tests/clone-reprepro @@ -0,0 +1,33 @@ +#!/bin/bash +set -e +. tests/lib +. $troot/lib-reprepro + +suitespecs+=' stable' + +t-dependencies reprepro +t-reprepro +t-tstunt-parsechangelog + +t-archive example 1.0-1 +t-git-none + +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 + +t-ok |