Commits

Martin Geisler committed eb8ca95

Test unknown scheme.

Comments (0)

Files changed (2)

tests/test-commitsigs

 hg commit -m Second -d '2000 0'
 
 hg verifysigs | sed 's|:[0-9a-f]\+:|:XXXXXXXXXXXX:|'
+
+cat >> $HGRCPATH <<EOF
+[commitsigs]
+scheme = x
+EOF
+
+echo "% unknown scheme"
+hg status
+
+true

tests/test-commitsigs.out

 adding a.txt
 0:XXXXXXXXXXXX: good signature
 1:XXXXXXXXXXXX: good signature
+% unknown scheme
+abort: unknown signature scheme: x