chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test suite: Introduce t-policy-nonexist
[dgit.git]
/
tests
/
lib
diff --git
a/tests/lib
b/tests/lib
index 30fce38e9d4f06018326c6a0eb9193f5fe669385..e710f39dc660f8d1d065a3c46c08d5fb93449f19 100644
(file)
--- 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