diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-03 11:31:58 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2015-05-31 11:54:12 +0100 |
commit | 5e5ac359fd22d5e35916471468ab7f56fec9fc82 (patch) | |
tree | 6204465ae7df94c22d6b7f3dd2a54c7f501b914f | |
parent | c4e6f46a26de88f746cbbda6af94821242d71bf2 (diff) |
Tests: Exercise policy periodic hook
-rw-r--r-- | tests/lib | 5 | ||||
-rwxr-xr-x | tests/tests/debpolicy-newreject | 6 |
2 files changed, 11 insertions, 0 deletions
@@ -368,6 +368,11 @@ t-debpolicy () { t-policy-admin create-db } +t-policy-periodic () { + ${DGIT_REPOS_SERVER_TEST-dgit-repos-server} \ + test-dummy $drs_dispatch '' --cron +} + t-chain-test () { local ct=$1 local d=${0%/*} diff --git a/tests/tests/debpolicy-newreject b/tests/tests/debpolicy-newreject index 7cf2a3a..813a5e2 100755 --- a/tests/tests/debpolicy-newreject +++ b/tests/tests/debpolicy-newreject @@ -19,4 +19,10 @@ t-dgit build t-expect-fail 'forbidden for testing' \ t-dgit push --new +git reset --hard HEAD~ +t-dgit build +t-dgit push --new + +t-policy-periodic + echo xxx up to here |