summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/source/fields-general-bad/build-spec
diff options
context:
space:
mode:
Diffstat (limited to 't/recipes/checks/fields/source/fields-general-bad/build-spec')
-rw-r--r--t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in17
-rw-r--r--t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in17
-rw-r--r--t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values4
-rw-r--r--t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file1
4 files changed, 39 insertions, 0 deletions
diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in
new file mode 100644
index 0000000..fec0c25
--- /dev/null
+++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/DEBIAN/control.in
@@ -0,0 +1,17 @@
+Package: fields-general-BAD?
+Source: [% $source %]
+Version: 1.0?
+Architecture: weird i386 amd64
+Maintainer: [% $author %]
+Section:
+Priority: is
+ weird
+Unknown-Field: Hallo World
+Depends: other-package (>= 1.0?), another-package (>< 1.0)
+Conflicts: somepkg | anotherpkg
+Recommends: g++ (>= s4.1)
+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.
diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in
new file mode 100644
index 0000000..dc4c24e
--- /dev/null
+++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/doc/changelog.in
@@ -0,0 +1,17 @@
+[% $testname %] ([% $version %]) [% $distribution %]; urgency=low
+
+ * Lintian Test Suite.
+ * Test: [% $testname %]
+
+ * Suppress "should close ITP bug" messages. (Closes: #123456)
+
+ -- [% $author %] [% $date %]
+
+[% $testname %] ([% $prev_version %]) [% $distribution %]; urgency=low
+
+ * Lintian Test Suite.
+ * Test: [% $testname %]
+
+ * Suppress "should close ITP bug" messages. (Closes: #123456)
+
+ -- [% $author %] [% $prev_date %]
diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values
new file mode 100644
index 0000000..a18e752
--- /dev/null
+++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/fill-values
@@ -0,0 +1,4 @@
+Skeleton: deb
+Testname: fields-general-bad
+Source: fields-general-BAD?
+Description: Test for package with control bad values
diff --git a/t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file
new file mode 100644
index 0000000..02c9d2d
--- /dev/null
+++ b/t/recipes/checks/fields/source/fields-general-bad/build-spec/root/usr/lib/lintian/some-file
@@ -0,0 +1 @@
+Hi, I could totally be architecture dependent.