summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2015-03-22 17:13:43 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2015-03-22 17:13:43 +0000
commitf4bc05ca3e517328907a64a0dd1ca55d74306740 (patch)
treeaf7f46f1c7d26e4e3fd24a7d5017493a71095661 /tests
parent36e0e040510db972a92ee25a7eed67c2700407e1 (diff)
Bugfixes (now all tests pass again)
Diffstat (limited to 'tests')
-rwxr-xr-xtests/drs-git-ext2
-rw-r--r--tests/lib2
2 files changed, 2 insertions, 2 deletions
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
}