summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-compat-old
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-compat-old')
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in1
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules7
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values5
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-old/eval/desc4
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-old/eval/hints3
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile2
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level3
7 files changed, 25 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in
new file mode 100644
index 0000000..640a566
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/compat.in
@@ -0,0 +1 @@
+[% $dh_compat_level %]
diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules
new file mode 100644
index 0000000..3d706f5
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_builddeb:
+ dh_builddeb -- -Zgzip
diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values
new file mode 100644
index 0000000..3de27aa
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-old/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: debhelper-compat-old
+Description: Test for old debian/compat file
+Dh-Compat-Level: 8
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)
diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-old/eval/desc
new file mode 100644
index 0000000..5659a51
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/desc
@@ -0,0 +1,4 @@
+Testname: debhelper-compat-old
+Options: --include-dir ./lintian-include-dir
+Profile: lintian-test
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-old/eval/hints
new file mode 100644
index 0000000..21ce42a
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/hints
@@ -0,0 +1,3 @@
+debhelper-compat-old (source): package-uses-old-debhelper-compat-version 8
+debhelper-compat-old (source): debian-build-system dh [debian/rules]
+debhelper-compat-old (source): debhelper-compat-level 8
diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile
new file mode 100644
index 0000000..f0e27cf
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/profiles/lintian-test/main.profile
@@ -0,0 +1,2 @@
+Profile: lintian-test/main
+Extends: debian/main
diff --git a/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level
new file mode 100644
index 0000000..d91eeb3
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-old/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level
@@ -0,0 +1,3 @@
+@include-parent
+deprecated=1
+recommended=100