summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-compat-experimental
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-compat-experimental')
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in1
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values6
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc5
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints4
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/profiles/lintian-test/main.profile2
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level2
6 files changed, 20 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in
new file mode 100644
index 0000000..640a566
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/debian/compat.in
@@ -0,0 +1 @@
+[% $dh_compat_level %]
diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values
new file mode 100644
index 0000000..d40c6eb
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/build-spec/fill-values
@@ -0,0 +1,6 @@
+Skeleton: upload-native
+Testname: debhelper-compat-experimental
+Dh-Compat-Level: 13
+Default-Build-Depends: debhelper (>= 12~)
+Description: Test for old debian/compat file
+# Overrides the "data/debhelper/compat-level"
diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc
new file mode 100644
index 0000000..0213f60
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/desc
@@ -0,0 +1,5 @@
+Testname: debhelper-compat-experimental
+Profile: lintian-test
+Options: --include-dir ./lintian-include-dir
+Check: debhelper
+# Overrides the "data/debhelper/compat-level"
diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints
new file mode 100644
index 0000000..8517f10
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/hints
@@ -0,0 +1,4 @@
+debhelper-compat-experimental (source): package-uses-experimental-debhelper-compat-version 13
+debhelper-compat-experimental (source): no-versioned-debhelper-prerequisite 13
+debhelper-compat-experimental (source): debian-build-system dh [debian/rules]
+debhelper-compat-experimental (source): debhelper-compat-level 13
diff --git a/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/profiles/lintian-test/main.profile b/t/recipes/checks/debhelper/debhelper-compat-experimental/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-experimental/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-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level
new file mode 100644
index 0000000..5d77b80
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-experimental/eval/lintian-include-dir/vendors/lintian-test/main/data/debhelper/compat-level
@@ -0,0 +1,2 @@
+@include-parent
+experimental=10