summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/lib5
-rwxr-xr-xtests/tests/debpolicy-newreject6
2 files changed, 11 insertions, 0 deletions
diff --git a/tests/lib b/tests/lib
index abb2657..377c5fd 100644
--- 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%/*}
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