chiark / gitweb /
test suite: overwrite-chkclog: test UNRELEASED handling.
[dgit.git] / tests / lib
index 7b9de175155708bf979ccf036453d1b0d6d3dbb3..e7ab334cc3daae7dc644ba5a8b9d8b1c94b768a2 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -411,7 +411,7 @@ t-dgit () {
 {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{'
        $dgit --dgit=$dgit --dget:-u --dput:--config=$tmp/dput.cf \
  ${dgit_config_debian_alias-"--config-lookup-explode=dgit-distro.debian.alias-canon"} \
-               ${distro--dtest-dummy} ${distro+${distro:+-d}${distro}} \
+               ${distro+${distro:+-d}}${distro--dtest-dummy} \
                $DGIT_TEST_OPTS $DGIT_TEST_DEBUG \
                -k39B13D8A $t_dgit_xopts "$@"
        : '}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
@@ -783,6 +783,7 @@ t-822-field () {
 
 t-defdistro () {
        export DGIT_TEST_DISTRO=''
+       distro=''
        t-git-config dgit-suite.unstable.distro test-dummy
 }