diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-08-05 20:34:13 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-09-05 13:41:48 +0100 |
commit | 9588a8e67017c5e859e6da5b5a0271712be78fad (patch) | |
tree | 3fe0afe39f469a5848f5614e0f98b1c82f97e2a3 | |
parent | 0ea078ab7c20804ceb7320044a8ad2a8b8503dbe (diff) |
Test suite: t-pushed-good: Support other suites
Honour $2 being the suite codename, defaulting to sid.
No functional change, since no-one passes this argument right now.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
-rw-r--r-- | tests/lib | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -458,17 +458,18 @@ t-check-pushed-master () { t-pushed-good () { local branch=$1 + local suite=${2:-sid} t-ref-dsc-dgit t-refs-same \ refs/heads/$branch \ `t-v-tag` \ - refs/remotes/dgit/dgit/sid + refs/remotes/dgit/dgit/$suite t-refs-notexist \ refs/heads/dgit/unstable \ refs/remotes/dgit/dgit/unstable (set -e; cd $dgitrepo t-refs-same \ - refs/dgit/sid \ + refs/dgit/$suite \ `t-v-tag` ${t_check_pushed_master:- : NOT-DRS-NO-CHECK-PUSHED-MASTER} t-refs-notexist \ |