summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/debian/rules/dh-sequencer
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/debian/rules/dh-sequencer
parentInitial commit. (diff)
downloadlintian-75808db17caf8b960b351e3408e74142f4c85aac.tar.xz
lintian-75808db17caf8b960b351e3408e74142f4c85aac.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 't/recipes/checks/debian/rules/dh-sequencer')
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules4
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints1
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules10
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/hints0
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules4
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints1
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules4
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc6
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints1
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules11
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints1
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in1
-rwxr-xr-xt/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules76
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values6
-rwxr-xr-xt/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints1
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules4
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints1
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules4
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints1
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules6
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values3
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc5
-rw-r--r--t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints1
38 files changed, 211 insertions, 0 deletions
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules
new file mode 100644
index 0000000..000210b
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@}
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values
new file mode 100644
index 0000000..eb6c44c
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: curly-braces
+Skeleton: source-native
+Description: Uses dh sequencer with curly variable notation (false positive)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc
new file mode 100644
index 0000000..c37f999
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/desc
@@ -0,0 +1,5 @@
+Testname: curly-braces
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also: Debian Bug#947115
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/curly-braces/eval/hints
@@ -0,0 +1 @@
+
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules
new file mode 100644
index 0000000..76cf643
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+export USER=fake
+export HOME=$(CURDIR)/debian/fake-home
+
+$(CURDIR)/debian/fake-home:
+ mkdir $(CURDIR)/debian/fake-home
+
+%: $(CURDIR)/debian/fake-home
+ dh $@
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values
new file mode 100644
index 0000000..3fc8de8
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/dependency/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: double-quotes
+Skeleton: source-native
+Description: Uses dh sequencer with explicit dependency (false positive)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc
new file mode 100644
index 0000000..1c1cef1
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/desc
@@ -0,0 +1,5 @@
+Testname: dependency
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also: #968108
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/hints
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/dependency/eval/hints
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules
new file mode 100644
index 0000000..5875e30
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh "$@"
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values
new file mode 100644
index 0000000..443e7fc
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: double-quotes
+Skeleton: source-native
+Description: Uses dh sequencer with double quotes around variable (false positive)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc
new file mode 100644
index 0000000..10cff19
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/desc
@@ -0,0 +1,5 @@
+Testname: double-quotes
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also: https://salsa.debian.org/lintian/lintian/merge_requests/288
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/double-quotes/eval/hints
@@ -0,0 +1 @@
+
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules
new file mode 100644
index 0000000..6ad65cc
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ PREFIX=/usr dh $@
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values
new file mode 100644
index 0000000..cc67457
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: environment-prefix
+Skeleton: source-native
+Description: Uses dh sequencer with a prefix setting an environment variable (false positive)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc
new file mode 100644
index 0000000..13dab36
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/desc
@@ -0,0 +1,6 @@
+Testname: environment-prefix
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also:
+ Bug#981712
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/environment-prefix/eval/hints
@@ -0,0 +1 @@
+
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules
new file mode 100644
index 0000000..f7b25c5
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+.PHONY: binary binary-arch binary-indep build build-arch build-indep clean install
+binary-arch build build-arch build-indep clean install:
+ dh $@
+
+binary binary-indep:
+ dh $@
+
+build-stamp:
+ dh $@
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values
new file mode 100644
index 0000000..50af747
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: explicit-targets
+Skeleton: source-native
+Description: Uses dh sequencer but not the % target wildcard
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc
new file mode 100644
index 0000000..7e1ff3d
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/desc
@@ -0,0 +1,5 @@
+Testname: explicit-targets
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also: Debian Bug#930679
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/explicit-targets/eval/hints
@@ -0,0 +1 @@
+
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in
new file mode 100644
index 0000000..640a566
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/compat.in
@@ -0,0 +1 @@
+[% $dh_compat_level %]
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules
new file mode 100755
index 0000000..c3ff202
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/debian/rules
@@ -0,0 +1,76 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_python
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values
new file mode 100644
index 0000000..90a87b4
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/fill-values
@@ -0,0 +1,6 @@
+Testname: no-dh-sequencer
+Skeleton: upload-native
+Package-Architecture: any
+Dh-Compat-Level: 7
+Description: Uses standard debhelper targets but not the dh sequencer
+Default-Build-Depends: debhelper (>= [% $dh_compat_level %]~)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in
new file mode 100755
index 0000000..bbdb5cb
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/build-spec/pre-build.in
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# not using any templates, but dh_clean requires compat
+
+echo "[% $dh_compat_level %]" > "$1/debian/compat"
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc
new file mode 100644
index 0000000..29c542e
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/desc
@@ -0,0 +1,3 @@
+Testname: no-dh-sequencer
+Check: debian/rules/dh-sequencer
+See-Also: Debian Bug#930679
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints
new file mode 100644
index 0000000..a2ff5e0
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/no-dh-sequencer/eval/hints
@@ -0,0 +1 @@
+no-dh-sequencer (source): no-dh-sequencer [debian/rules]
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules
new file mode 100644
index 0000000..0ceea36
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh $(@)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values
new file mode 100644
index 0000000..07d9a39
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: parentheses
+Skeleton: source-native
+Description: Uses dh sequencer with parentheses around variable name (false positive)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc
new file mode 100644
index 0000000..95b6225
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/desc
@@ -0,0 +1,5 @@
+Testname: parentheses
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also: Debian Bug#947115
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/parentheses/eval/hints
@@ -0,0 +1 @@
+
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules
new file mode 100644
index 0000000..2822991
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh '$@'
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values
new file mode 100644
index 0000000..4add931
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: single-quotes
+Skeleton: source-native
+Description: Uses dh sequencer with single quotes around variable (false positive)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc
new file mode 100644
index 0000000..895f051
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/desc
@@ -0,0 +1,5 @@
+Testname: single-quotes
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also: https://salsa.debian.org/lintian/lintian/merge_requests/288
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/single-quotes/eval/hints
@@ -0,0 +1 @@
+
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules
new file mode 100644
index 0000000..f547287
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/debian/rules
@@ -0,0 +1,6 @@
+#!/usr/bin/make -f
+
+%:
+ # this comment should not trigger a false positive
+ # neither should this one
+ dh $(@)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values
new file mode 100644
index 0000000..933afac
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/build-spec/fill-values
@@ -0,0 +1,3 @@
+Testname: with-comments
+Skeleton: source-native
+Description: Uses dh sequencer but with comments inside the Makefile recipe (false positive)
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc
new file mode 100644
index 0000000..6a234e4
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/desc
@@ -0,0 +1,5 @@
+Testname: with-comments
+Check: debian/rules/dh-sequencer
+Test-Against:
+ no-dh-sequencer
+See-Also: Debian Bug#960485
diff --git a/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints
new file mode 100644
index 0000000..8b13789
--- /dev/null
+++ b/t/recipes/checks/debian/rules/dh-sequencer/with-comments/eval/hints
@@ -0,0 +1 @@
+