chiark / gitweb /
Bugfixes (now all tests pass again)
[dgit.git] / tests / lib
index 6aab1522c08257ff1891987f82eeeccf526e548c..44f14eede62624b8cec3b2680cc357f06699853b 100644 (file)
--- a/tests/lib
+++ b/tests/lib
@@ -261,7 +261,6 @@ t-drs () {
  t-git-config dgit-distro.test-dummy.git-create true
        cp $root/tests/gnupg/{dd.gpg,dm.gpg,dm.txt} $tmp/.
        cp $root/tests/suites $tmp/.
-       ln -s /bin/true $tmp/policy
 }
 
 t-dss () {
@@ -286,6 +285,7 @@ t-dss () {
        mkdir -p $dss_dispatch/keyrings
        ln -sf $tmp/dd.gpg $dss_dispatch/keyrings/debian-keyring.gpg
        ln -sf $tmp/dm.gpg $dss_dispatch/keyrings/debian-maintainers.gpg
+       ln -sf /bin/true $dss_dispatch/policy-hook
 
        echo 'no-such-package* drs' >$dss_dispatch/diverts
 }