summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-script-token
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/debhelper/debhelper-script-token
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/debhelper/debhelper-script-token')
-rw-r--r--t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst6
-rw-r--r--t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debhelper/debhelper-script-token/eval/desc2
-rw-r--r--t/recipes/checks/debhelper/debhelper-script-token/eval/hints4
4 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst
new file mode 100644
index 0000000..185dc3a
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/debian/postinst
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+run something
+
+# We should have a debhelper token.
+exit 0
diff --git a/t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values
new file mode 100644
index 0000000..0fe87cf
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-script-token/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: debhelper-script-token
+Description: Check debhelper script token with rule minimization
diff --git a/t/recipes/checks/debhelper/debhelper-script-token/eval/desc b/t/recipes/checks/debhelper/debhelper-script-token/eval/desc
new file mode 100644
index 0000000..64e2d6f
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-script-token/eval/desc
@@ -0,0 +1,2 @@
+Testname: debhelper-script-token
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-script-token/eval/hints b/t/recipes/checks/debhelper/debhelper-script-token/eval/hints
new file mode 100644
index 0000000..ece9068
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-script-token/eval/hints
@@ -0,0 +1,4 @@
+debhelper-script-token (source): maintainer-script-lacks-debhelper-token [debian/postinst]
+debhelper-script-token (source): debian-build-system dh [debian/rules]
+debhelper-script-token (source): debhelper-compat-virtual-relation 13 [debian/control]
+debhelper-script-token (source): debhelper-compat-level 13