diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-09 16:10:16 +0000 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2017-01-09 16:10:16 +0000 |
commit | 4105a262ff80ef981a724a01067de0c9ce3b38db (patch) | |
tree | 753f27c2399749a3486087b6f2efe539699ccec4 /tests | |
parent | 65c5679375e4c1b05bb621624bc9686cab422561 (diff) |
test suite: Provide t-defdistro (for use with t-alt-test)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -28,6 +28,8 @@ t-set-intree : ${DGIT_TEST_DEBUG=-D} export DGIT_TEST_DEBUG +: ${DGIT_TEST_DISTRO+ ${distro=${DGIT_TEST_DISTRO}}} + export GIT_COMMITTER_DATE='1440253867 +0100' export GIT_AUTHOR_DATE='1440253867 +0100' @@ -778,6 +780,12 @@ t-822-field () { ' <$file } +t-defdistro () { + export DGIT_TEST_DISTRO='' + t-git-config dgit-suite.sid.distro test-dummy + t-git-config dgit-suite.unstable.distro test-dummy +} + t-stunt-envvar () { local var=$1 local tstunt=$2 |