diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -130,12 +130,16 @@ t-refs-notexist () { done } +t-v-tag () { + echo refs/tags/debian/${v//\~/_} +} + t-pushed-good () { local branch=$1 t-ref-dsc-dgit t-refs-same-more \ refs/heads/$branch \ - refs/tags/debian/$v \ + `t-v-tag` \ refs/remotes/dgit/dgit/sid t-refs-notexist \ refs/heads/dgit/unstable \ @@ -143,7 +147,7 @@ t-pushed-good () { (set -e; cd $tmp/git/$p.git t-refs-same-more \ refs/dgit/sid \ - refs/tags/debian/$v + `t-v-tag` t-refs-notexist \ refs/dgit/unstable ) |