chiark / gitweb /
test suite: gdr-convert-gbp: Provide some unprocessable branches
[dgit.git] / tests / setup / gdr-convert-gbp
index e523fd33752f20b8cfbb3e6cefc818d89cfdfe5d..b7e0b7d319e5fdaee837509b2fedbc9479c263d3 100755 (executable)
@@ -11,6 +11,7 @@ t-dependencies GDR
 t-tstunt-parsechangelog
 
 not-gdr-processable () {
+       git branch gdr-unprocessable/$1
        t-git-debrebase analyse | grep 'Unknown Unprocessable'
 }
 
@@ -37,7 +38,7 @@ gbp pq export
 git add debian/patches
 git commit -m "patch queue update ($0)"
 
-not-gdr-processable
+not-gdr-processable origin
 
 : 'fake up an upstream 2.0'
 git branch make-upstream upstream
@@ -61,10 +62,10 @@ done
 git checkout master
 gbp import-orig --upstream-version=2.0 ../$ust
 
-not-gdr-processable
+not-gdr-processable merge
 
 t-dch-commit -v 2.0-1 -m 'new upstream (did gbp import-orig)'
-t-dch-commit -r sid
+t-dch-commit-r
 
 $ifarchive t-archive-none $p
 $ifarchive t-git-none
@@ -84,9 +85,9 @@ t-git-debrebase -fupstream-has-debian convert-from-gbp
 
 v=2.0-2
 t-dch-commit -v $v -m 'switch to git-debrebase, no other changes'
-t-dch-commit -r sid
+t-dch-commit-r
 
-$ifarchive t-dgit -wgf push-source --new --overwrite
+$ifarchive t-dgit -wgf push-source --new
 git push
 
 cd ..
@@ -99,5 +100,3 @@ t-setup-done '' "$(echo $p*) salsa $($ifarchive echo git mirror aq)" '
        p=example
        t-git-next-date
 '
-
-t-ok