chiark / gitweb /
autopkgtests: t-pushed-good takes local branch name argument
[dgit.git] / tests / lib
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 \