summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override
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/rules-uses-deprecated-systemd-override
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/rules-uses-deprecated-systemd-override')
-rwxr-xr-xt/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules13
-rw-r--r--t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc2
-rw-r--r--t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints6
4 files changed, 25 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules
new file mode 100755
index 0000000..d5fb60d
--- /dev/null
+++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/debian/rules
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_systemd_enable:
+ dh_systemd_enable
+
+override_dh_systemd_start:
+ dh_systemd_start
+
+override_dh_systemd_start-arch:
+ dh_systemd_start
diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values
new file mode 100644
index 0000000..d418d1d
--- /dev/null
+++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: rules-uses-deprecated-systemd-override
+Description: Test for override_dh_systemd_enable with compat levels 11
+Dh-Compat-Level: 12
diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc
new file mode 100644
index 0000000..1eab75d
--- /dev/null
+++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/desc
@@ -0,0 +1,2 @@
+Testname: rules-uses-deprecated-systemd-override
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints
new file mode 100644
index 0000000..466a42e
--- /dev/null
+++ b/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override/eval/hints
@@ -0,0 +1,6 @@
+rules-uses-deprecated-systemd-override (source): package-uses-old-debhelper-compat-version 12
+rules-uses-deprecated-systemd-override (source): debian-rules-uses-deprecated-systemd-override override_dh_systemd_start-arch [debian/rules:12]
+rules-uses-deprecated-systemd-override (source): debian-rules-uses-deprecated-systemd-override override_dh_systemd_enable [debian/rules:6]
+rules-uses-deprecated-systemd-override (source): debian-build-system dh [debian/rules]
+rules-uses-deprecated-systemd-override (source): debhelper-compat-virtual-relation 12 [debian/control]
+rules-uses-deprecated-systemd-override (source): debhelper-compat-level 12