chiark / gitweb /
autopkgtests: t-pushed-good takes local branch name argument
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 17 Nov 2013 18:22:36 +0000 (18:22 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 24 Nov 2013 17:45:27 +0000 (17:45 +0000)
tests/lib
tests/tests/push-newpackage

index fb6059b..b9ce24b 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -131,9 +131,10 @@ t-refs-notexist () {
 }
 
 t-pushed-good () {
+       local branch=$1
        t-ref-dsc-dgit
        t-refs-same-more \
-               refs/heads/master \
+               refs/heads/$branch \
                refs/tags/debian/$v \
                refs/remotes/dgit/dgit/sid
        t-refs-notexist \
index 92c9361..3dfe0b5 100755 (executable)
@@ -19,6 +19,6 @@ echo y
 t-dgit build
 t-dgit push --new
 
-t-pushed-good
+t-pushed-good master
 
 echo ok.