[lintian] 01/01: Add a test for detecting lack of upstream key in case of watch file signature checking
This is an automated email from the git hooks/post-receive script.
broucaries-guest pushed a commit to branch master
in repository lintian.
commit 823610ff4acc75cda04d5ad8b4f65fd081f35f6b
Author: Bastien ROUCARIÈS <roucaries.bastien@gmail.com>
Date: Sat Nov 9 15:03:04 2013 +0100
Add a test for detecting lack of upstream key in case of watch file signature checking
Lintian tag should carry test. Add a test for debian-watch-file-pubkey-file-is-missing
---
t/tests/watch-file-pubkey-missing/debian/README | 1 +
t/tests/watch-file-pubkey-missing/debian/debian/watch | 3 +++
t/tests/watch-file-pubkey-missing/desc | 6 ++++++
t/tests/watch-file-pubkey-missing/tags | 1 +
t/tests/watch-file-pubkey-missing/upstream/README | 1 +
5 files changed, 12 insertions(+)
diff --git a/t/tests/watch-file-pubkey-missing/debian/README b/t/tests/watch-file-pubkey-missing/debian/README
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/t/tests/watch-file-pubkey-missing/debian/README
@@ -0,0 +1 @@
+README
diff --git a/t/tests/watch-file-pubkey-missing/debian/debian/watch b/t/tests/watch-file-pubkey-missing/debian/debian/watch
new file mode 100644
index 0000000..7ac78bc
--- /dev/null
+++ b/t/tests/watch-file-pubkey-missing/debian/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts="uversionmangle=s/-/./,dversionmangle=s/\.dfsg\d+$//,pgpsigurlmangle=s/$/.asc/" \
+ftp://ftp.imagemagick.org/pub/ImageMagick/ ImageMagick-(.*)\.tar\.xz
diff --git a/t/tests/watch-file-pubkey-missing/desc b/t/tests/watch-file-pubkey-missing/desc
new file mode 100644
index 0000000..02bf7aa
--- /dev/null
+++ b/t/tests/watch-file-pubkey-missing/desc
@@ -0,0 +1,6 @@
+Testname: watch-file-pubkey-missing
+Sequence: 6000
+Type: non-native
+Version: 1+dfsg-1
+Description: Watch file if verify signature should check debian/upstream-signing-key.pgp
+Test-For: debian-watch-file-pubkey-file-is-missing
diff --git a/t/tests/watch-file-pubkey-missing/tags b/t/tests/watch-file-pubkey-missing/tags
new file mode 100644
index 0000000..c3b1f0d
--- /dev/null
+++ b/t/tests/watch-file-pubkey-missing/tags
@@ -0,0 +1 @@
+E: watch-file-pubkey-missing source: debian-watch-file-pubkey-file-is-missing
diff --git a/t/tests/watch-file-pubkey-missing/upstream/README b/t/tests/watch-file-pubkey-missing/upstream/README
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/t/tests/watch-file-pubkey-missing/upstream/README
@@ -0,0 +1 @@
+README
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: