chiark / gitweb /
Tests: Exercise policy periodic hook
[dgit.git] / tests / lib
index abb2657a23bd6ee2c993422fe30819656d152f06..377c5fd1e4dd93a71bef4ff4d1fbf438e3fa65d1 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -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%/*}