summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-compat-multiple
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-compat-multiple')
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat3
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc2
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints5
4 files changed, 14 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat
new file mode 100644
index 0000000..58110e6
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/debian/compat
@@ -0,0 +1,3 @@
+11
+
+12
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values
new file mode 100644
index 0000000..6f579bf
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: debhelper-compat-multiple
+Description: Test debian/compat file with multiple entries
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc
new file mode 100644
index 0000000..a073dba
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/desc
@@ -0,0 +1,2 @@
+Testname: debhelper-compat-multiple
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints
new file mode 100644
index 0000000..03f9faf
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple/eval/hints
@@ -0,0 +1,5 @@
+debhelper-compat-multiple (source): uses-debhelper-compat-file [debian/compat]
+debhelper-compat-multiple (source): package-uses-old-debhelper-compat-version 11
+debhelper-compat-multiple (source): debian-build-system dh [debian/rules]
+debhelper-compat-multiple (source): debhelper-compat-level 11
+debhelper-compat-multiple (source): debhelper-compat-file-contains-multiple-levels [debian/compat:3]