summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/fields/unknown/fields-general-bad/build-spec
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/fields/unknown/fields-general-bad/build-spec
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.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/fields/unknown/fields-general-bad/build-spec')
-rw-r--r--t/recipes/checks/fields/unknown/fields-general-bad/build-spec/DEBIAN/control.in17
-rw-r--r--t/recipes/checks/fields/unknown/fields-general-bad/build-spec/doc/changelog.in17
-rw-r--r--t/recipes/checks/fields/unknown/fields-general-bad/build-spec/fill-values4
-rw-r--r--t/recipes/checks/fields/unknown/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/unknown/fields-general-bad/build-spec/DEBIAN/control.in b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/DEBIAN/control.in
new file mode 100644
index 0000000..fec0c25
--- /dev/null
+++ b/t/recipes/checks/fields/unknown/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/unknown/fields-general-bad/build-spec/doc/changelog.in b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/doc/changelog.in
new file mode 100644
index 0000000..dc4c24e
--- /dev/null
+++ b/t/recipes/checks/fields/unknown/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/unknown/fields-general-bad/build-spec/fill-values b/t/recipes/checks/fields/unknown/fields-general-bad/build-spec/fill-values
new file mode 100644
index 0000000..a18e752
--- /dev/null
+++ b/t/recipes/checks/fields/unknown/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/unknown/fields-general-bad/build-spec/root/usr/lib/lintian/some-file b/t/recipes/checks/fields/unknown/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/unknown/fields-general-bad/build-spec/root/usr/lib/lintian/some-file
@@ -0,0 +1 @@
+Hi, I could totally be architecture dependent.