summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debhelper/debhelper-compat-whitespace
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/debhelper/debhelper-compat-whitespace')
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in1
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values4
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc3
-rw-r--r--t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints3
4 files changed, 11 insertions, 0 deletions
diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in
new file mode 100644
index 0000000..64f7ede
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/debian/compat.in
@@ -0,0 +1 @@
+ [% $dh_compat_level %]
diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values
new file mode 100644
index 0000000..0301064
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: upload-native
+Testname: debhelper-compat-whitespace
+Description: Allow whitespace in debian/compat
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)
diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc
new file mode 100644
index 0000000..8063998
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/desc
@@ -0,0 +1,3 @@
+Testname: debhelper-compat-whitespace
+Test-Against: debhelper-compat-not-a-number
+Check: debhelper
diff --git a/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints
new file mode 100644
index 0000000..c3d2ed0
--- /dev/null
+++ b/t/recipes/checks/debhelper/debhelper-compat-whitespace/eval/hints
@@ -0,0 +1,3 @@
+debhelper-compat-whitespace (source): uses-debhelper-compat-file [debian/compat]
+debhelper-compat-whitespace (source): debian-build-system dh [debian/rules]
+debhelper-compat-whitespace (source): debhelper-compat-level 13