diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-11-17 18:22:36 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2013-11-24 17:45:27 +0000 |
commit | d064fe28e62e45dca47b9925eac285e7b7becc5d (patch) | |
tree | 842704ffac680634b82d7cb0059d05b43bad0e4e | |
parent | dd869ec82e37459dcc52a3843f02c9fcceade085 (diff) |
autopkgtests: t-pushed-good takes local branch name argument
-rw-r--r-- | tests/lib | 3 | ||||
-rwxr-xr-x | tests/tests/push-newpackage | 2 |
2 files changed, 3 insertions, 2 deletions
@@ -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 92c9361..3dfe0b5 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. |