diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 18:31:22 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 18:32:57 +0100 |
commit | df2685b0b8364f6dfed541113478bbd23a175a01 (patch) | |
tree | 53ae3447eaad4f06b4cdc4bebd8464230d0f3ab7 /tests | |
parent | 550a4d5ca9ea2dc83403d6aae926cd151a7fa2aa (diff) |
Test suite: Make it possible to call t-policy more than once (moving t-dsd out of it)
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib | 9 | ||||
-rwxr-xr-x | tests/tests/trustingpolicy-replay | 1 |
2 files changed, 5 insertions, 5 deletions
@@ -425,17 +425,16 @@ t-policy-admin () { t-policy () { local policyhook=$1 - t-dsd - ln -sf ${DGIT_INFRA_PFX}$policyhook \ $drs_dispatch/policy-hook - - mkdir $tmp/git - t-policy-admin create-db } t-debpolicy () { + t-dsd t-policy dgit-repos-policy-debian + + mkdir $tmp/git + t-policy-admin create-db } t-policy-periodic () { diff --git a/tests/tests/trustingpolicy-replay b/tests/tests/trustingpolicy-replay index f6053aa..57ef286 100755 --- a/tests/tests/trustingpolicy-replay +++ b/tests/tests/trustingpolicy-replay @@ -4,6 +4,7 @@ set -e t-tstunt-parsechangelog +t-dsd t-policy dgit-repos-policy-trusting t-prep-newpackage example 1.0 |