chiark / gitweb /
Test suite: import-dsc: Test --require-valid-signature
[dgit.git] / 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.