chiark / gitweb /
test suite: forcesplit-overwrite: Check -pushed-good
[dgit.git] / tests / tests / forcesplit-overwrite
index 0afb5cedbee7301782cfc9f2612fb956791d01c6..d07d65a0d80cf8f9e4d1ecdc81a58d56d3cab5a2 100755 (executable)
@@ -2,14 +2,25 @@
 set -e
 . tests/lib
 
+# This tests a native package with split view, including that the
+# pseudomerges end up in the right place.
+
 t-setup-import examplegit
 
+t-select-package example
 cd example
 
 suite=stable
 
 t-commit 'No changes, just send to stable' '' stable
 
-t-dgit -wgf --split-view --overwrite=1.2 push-source stable
+t-refs-same-start
+t-ref-head
+
+t-dgit -wgf --split-view --overwrite=1.2 --dgit-view-save=split.p push-source stable
+git branch -f split.b split.p
+
+t-ref-head
+t-split-unchanged-pushed-good $suite
 
 t-ok