summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debian/watch/repack-indicator-in-debian-revision
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/debian/watch/repack-indicator-in-debian-revision')
-rw-r--r--t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch11
-rw-r--r--t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc2
-rw-r--r--t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints1
4 files changed, 18 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch
new file mode 100644
index 0000000..6cc9db4
--- /dev/null
+++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/debian/watch
@@ -0,0 +1,11 @@
+# watch file with no version mangling, even though there's a dfsg in the
+# package version number.
+
+version=2
+https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz debian uupdate
+
+# version mangling is not needed in this case:
+https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz 0.24 uupdate
+
+# version mangling *is* needed in this case:
+https://www.example.com/dist/ dh7-test\.([\d.]+)\.tar\.gz
diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values
new file mode 100644
index 0000000..a804d99
--- /dev/null
+++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/build-spec/fill-values
@@ -0,0 +1,4 @@
+Testname: repack-indicator-in-debian-revision
+Skeleton: upload-non-native
+Version: 1-debian1
+Description: Avoid false positives in Devuan (#931846)
diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc
new file mode 100644
index 0000000..cff1b33
--- /dev/null
+++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/desc
@@ -0,0 +1,2 @@
+Testname: repack-indicator-in-debian-revision
+Check: debian/watch
diff --git a/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints
new file mode 100644
index 0000000..e758710
--- /dev/null
+++ b/t/recipes/checks/debian/watch/repack-indicator-in-debian-revision/eval/hints
@@ -0,0 +1 @@
+repack-indicator-in-debian-revision (source): debian-watch-does-not-check-openpgp-signature [debian/watch]