From f4bc05ca3e517328907a64a0dd1ca55d74306740 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 22 Mar 2015 17:13:43 +0000 Subject: Bugfixes (now all tests pass again) --- tests/drs-git-ext | 2 +- tests/lib | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/drs-git-ext b/tests/drs-git-ext index 73dcfa2..8116a87 100755 --- a/tests/drs-git-ext +++ b/tests/drs-git-ext @@ -10,6 +10,6 @@ ${DGIT_REPOS_SERVER_TEST-dgit-repos-server} test-dummy \ $tmp/suites \ $tmp/dd.gpg,a:$tmp/dm.gpg,m$tmp/dm.txt \ $tmp/git \ - $tmp/policy \ + /bin/true \ --ssh : '))))))))))))))))))))))))))))))))))))))))' diff --git a/tests/lib b/tests/lib index 6aab152..44f14ee 100644 --- 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 } -- cgit v1.2.3