From: Ian Jackson Date: Sun, 17 Nov 2013 18:22:36 +0000 (+0000) Subject: autopkgtests: t-pushed-good takes local branch name argument X-Git-Tag: debian/0.19~19 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=d064fe28e62e45dca47b9925eac285e7b7becc5d autopkgtests: t-pushed-good takes local branch name argument --- diff --git a/tests/lib b/tests/lib index fb6059ba..b9ce24be 100644 --- 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 \ diff --git a/tests/tests/push-newpackage b/tests/tests/push-newpackage index 92c9361b..3dfe0b58 100755 --- a/tests/tests/push-newpackage +++ b/tests/tests/push-newpackage @@ -19,6 +19,6 @@ echo y t-dgit build t-dgit push --new -t-pushed-good +t-pushed-good master echo ok.