chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Test suite: import-dsc: Test --require-valid-signature
[dgit.git]
/
tests
/
tests
/
import-dsc
diff --git
a/tests/tests/import-dsc
b/tests/tests/import-dsc
index 1a9c7018ba580b4891793003c2d7a2215aeedae0..9d3d9b79136e612de512c79e9d5ff8c0ae693c8b 100755
(executable)
--- 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.