summaryrefslogtreecommitdiff
path: root/tests/tests/import-dsc
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-23 21:12:12 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2016-10-30 19:50:48 +0000
commit7d8adc6e0fbb6b2d57b2c57ba8f036d1face54a1 (patch)
tree83a25be0bb05c51ff0e9437d1fb455ee2bdf6663 /tests/tests/import-dsc
parentdf1c835ec8cea9ea7cbab65d9726a9a5881b66e1 (diff)
Test suite: import-dsc: Test --require-valid-signature
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/tests/import-dsc')
-rwxr-xr-xtests/tests/import-dsc3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tests/import-dsc b/tests/tests/import-dsc
index 1a9c701..9d3d9b7 100755
--- a/tests/tests/import-dsc
+++ b/tests/tests/import-dsc
@@ -93,4 +93,7 @@ t-dgit import-dsc $dsc2 +$branch
mb=$(t-git-merge-base merge-reset $branch)
test "x$mb" = x
+t-expect-fail 'signature check failed' \
+t-dgit import-dsc --require-valid-signature $dsc2 +$branch
+
echo ok.