summaryrefslogtreecommitdiff
path: root/tests/tests/quilt-splitbrains
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests/quilt-splitbrains')
-rwxr-xr-xtests/tests/quilt-splitbrains10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/tests/quilt-splitbrains b/tests/tests/quilt-splitbrains
index 1e853f3..112bc39 100755
--- a/tests/tests/quilt-splitbrains
+++ b/tests/tests/quilt-splitbrains
@@ -2,6 +2,8 @@
set -e
. tests/lib
+suitespecs+=' stable'
+
# This test script tests each of the split brain quilt modes, and
# --quilt=linear, with a tree suitable for each of those, and pushes
# them in sequence. The idea is to check that each tree is rejected
@@ -24,9 +26,9 @@ want-success () {
t-refs-same-start
t-ref-head
- t-dgit "$@" --quilt=$qmode build-source
+ t-dgit "$@" --quilt=$qmode --dgit-view-save=split.b build-source
- t-dgit "$@" --quilt=$qmode push
+ t-dgit "$@" --quilt=$qmode --dgit-view-save=split.p push
t-$qmode-pushed-good
}
@@ -130,5 +132,9 @@ t-dgit -wgf build-source
want-success dpm
+suite=stable
+t-commit dpmish-stable 1.0-6 $suite
+
+want-success dpm --new
echo ok.