summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/dh-make/cruft-fixme-placeholders
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/dh-make/cruft-fixme-placeholders')
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source5
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in22
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright8
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints1
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules5
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values3
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc2
-rw-r--r--t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints6
8 files changed, 52 insertions, 0 deletions
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source
new file mode 100644
index 0000000..f4b7709
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/README.source
@@ -0,0 +1,5 @@
+cruft-fixme-placeholders for Debian
+-----------------------------------
+
+FIXME: A reminder to do something
+FIX_ME: npm2deb uses underscores
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in
new file mode 100644
index 0000000..4f62807
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/control.in
@@ -0,0 +1,22 @@
+Source: [% $source %]
+Priority: optional
+Section: devel
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]
+Architecture: [% $package_architecture %]
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: [% $description %]
+ This is a test package designed to exercise some feature or tag of
+ Lintian. It is part of the Lintian test suite and may do very odd
+ things. It should not be installed like a regular package. It may
+ be an empty package.
+ .
+ FIXME: This line should be detected by Lintian.
+ .
+ This line shouldn't be detected as it has a quoted "FIXME".
+ .
+ FIXME: This mixed "FIXME" line should still be detected though.
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright
new file mode 100644
index 0000000..6bb2c0e
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright
@@ -0,0 +1,8 @@
+This is part of the testsuite of lintian. See the file debian/copyright
+in the lintian source directory for more details.
+
+Insofar as this is copyrightable, it is:
+
+ Copyright 2017 Chris Lamb <lamby@debian.org>
+
+FIXME: Lintian should detect this text.
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints
new file mode 100644
index 0000000..de8f916
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/copyright_hints
@@ -0,0 +1 @@
+FIXME: This file should be ignored.
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules
new file mode 100644
index 0000000..975a857
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+%:
+ # FIXME: Something
+ dh $@
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values
new file mode 100644
index 0000000..dc619a2
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: cruft-fixme-placeholders
+Description: Check for placeholders in various maintainer scripts
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc
new file mode 100644
index 0000000..10f5d9f
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/desc
@@ -0,0 +1,2 @@
+Testname: cruft-fixme-placeholders
+Check: dh-make
diff --git a/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints
new file mode 100644
index 0000000..9d6298b
--- /dev/null
+++ b/t/recipes/checks/dh-make/cruft-fixme-placeholders/eval/hints
@@ -0,0 +1,6 @@
+cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIX_ME [debian/README.source:5]
+cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/rules:4]
+cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/copyright:8]
+cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/control:22]
+cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/control:18]
+cruft-fixme-placeholders (source): file-contains-fixme-placeholder FIXME [debian/README.source:4]