summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/rules-uses-deprecated-systemd-override
diff options
context:
space:
mode:
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