summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-compat-multiple-unrel')
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat3
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc4
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints4
4 files changed, 15 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat
new file mode 100644
index 0000000..736ea2a
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/debian/compat
@@ -0,0 +1,3 @@
+11
+
+# Comment after a skipped line
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values
new file mode 100644
index 0000000..d3eee2a
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: debhelper-compat-multiple-unrel
+Description: Test debian/compat file with multiple entries (false-positives)
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc
new file mode 100644
index 0000000..6627836
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/desc
@@ -0,0 +1,4 @@
+Testname: debhelper-compat-multiple-unrel
+Test-Against:
+ debhelper-compat-file-contains-multiple-levels
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints
new file mode 100644
index 0000000..2ec2a64
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-multiple-unrel/eval/hints
@@ -0,0 +1,4 @@
+debhelper-compat-multiple-unrel (source): uses-debhelper-compat-file [debian/compat]
+debhelper-compat-multiple-unrel (source): package-uses-old-debhelper-compat-version 11
+debhelper-compat-multiple-unrel (source): debian-build-system dh [debian/rules]
+debhelper-compat-multiple-unrel (source): debhelper-compat-level 11