summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-28 23:42:47 +0000
committerIan Jackson <ijackson@chiark.greenend.org.uk>2022-12-29 00:27:18 +0000
commit2a745169d73b0365fcbdc3ec24d07bf31dc00f0d (patch)
tree1936bf503c72a83540d6496273b1ec28adcfafea /tests
parent6fe6632091fd92f7017976915e81f262c8a428a9 (diff)
tainted-objects: tests: Insist that test-dummy supports it
This will ensure that the direct command fallback is tested, I think. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib1
-rwxr-xr-xtests/tests/trustingpolicy-replay3
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib b/tests/lib
index 7df79d6..dc6a5ba 100644
--- a/tests/lib
+++ b/tests/lib
@@ -1341,6 +1341,7 @@ t-alt-test () {
}
t-git-config dgit.default.old-dsc-distro test-dummy
+t-git-config dgit-distro.test-dummy.policy-query-supported-ssh true
for import in ${autoimport-gnupg}; do
case "$0" in
diff --git a/tests/tests/trustingpolicy-replay b/tests/tests/trustingpolicy-replay
index 8ebeb2c..f96165f 100755
--- a/tests/tests/trustingpolicy-replay
+++ b/tests/tests/trustingpolicy-replay
@@ -50,7 +50,8 @@ prepare-replay () {
t-commit "request with $delib that we will replay"
t-dgit build
t-expect-push-fail 'system: No such file or directory' \
- t-dgit push-source $delib
+ t-dgit -cdgit-distro.test-dummy.policy-query-supported-ssh=false \
+ push-source $delib
t-policy dgit-repos-policy-trusting