chiark / gitweb /
Test suite: import-dsc: Test --require-valid-signature
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 23 Oct 2016 20:12:12 +0000 (21:12 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 30 Oct 2016 19:50:48 +0000 (19:50 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
tests/tests/import-dsc

index 1a9c701..9d3d9b7 100755 (executable)
@@ -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.