From 27372f8aae862754654b46cf719f759cea99eb9d Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Tue, 23 Jun 2015 13:22:23 +0100 Subject: Test suite: Introduce t-policy-nonexist "t-policy false" did not work properly. --- tests/lib | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/lib') diff --git a/tests/lib b/tests/lib index 30fce38..e710f39 100644 --- a/tests/lib +++ b/tests/lib @@ -516,6 +516,10 @@ t-policy-admin () { ${DGIT_INFRA_PFX}dgit-repos-admin-debian --repos $tmp/git "$@" } +t-policy-nonexist () { + ln -sf no-such-file-or-directory $drs_dispatch/policy-hook +} + t-policy () { local policyhook=$1 policyhook=${DGIT_INFRA_PFX}$policyhook -- cgit v1.2.3