summaryrefslogtreecommitdiff
path: root/tests/lib
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-17 18:22:36 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2013-11-24 17:45:27 +0000
commitd064fe28e62e45dca47b9925eac285e7b7becc5d (patch)
tree842704ffac680634b82d7cb0059d05b43bad0e4e /tests/lib
parentdd869ec82e37459dcc52a3843f02c9fcceade085 (diff)
autopkgtests: t-pushed-good takes local branch name argument
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index fb6059b..b9ce24b 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 \