summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/menus/menus-doc-base-registration
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/menus/menus-doc-base-registration
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/menus/menus-doc-base-registration')
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/control.in23
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-html.docs1
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-pdf.install1
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/build-spec/fill-values5
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc1.html1
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc2.pdf1
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/eval/desc2
-rw-r--r--t/recipes/checks/menus/menus-doc-base-registration/eval/hints2
8 files changed, 36 insertions, 0 deletions
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/control.in b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/control.in
new file mode 100644
index 0000000..39c74c9
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/control.in
@@ -0,0 +1,23 @@
+Source: [% $source %]
+Priority: optional
+Section: [% $section %]
+Maintainer: [% $author %]
+Standards-Version: [% $standards_version %]
+Build-Depends: [% $build_depends %]
+Rules-Requires-Root: no
+
+Package: [% $source %]-pdf
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: [% $description %] -- pdf doc
+ This is a test package with fake pdf documentation 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.
+
+Package: [% $source %]-html
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: [% $description %] -- html doc
+ This is a test package with fake html documentation 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.
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-html.docs b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-html.docs
new file mode 100644
index 0000000..3e1708f
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-html.docs
@@ -0,0 +1 @@
+doc1.html
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-pdf.install b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-pdf.install
new file mode 100644
index 0000000..c78f14e
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/debian/menus-doc-base-registration-pdf.install
@@ -0,0 +1 @@
+doc2.pdf /usr/share/doc/foo/
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/build-spec/fill-values b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/fill-values
new file mode 100644
index 0000000..78a0208
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/fill-values
@@ -0,0 +1,5 @@
+Skeleton: upload-native
+Testname: menus-doc-base-registration
+Description: Test some doc-base registration related tags
+# doc-base installation paths now include the package name, see Bug#980903
+Extra-Build-Depends: debhelper (>= 13.4)
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc1.html b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc1.html
new file mode 100644
index 0000000..3b18e51
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc1.html
@@ -0,0 +1 @@
+hello world
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc2.pdf b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc2.pdf
new file mode 100644
index 0000000..3b18e51
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/build-spec/orig/doc2.pdf
@@ -0,0 +1 @@
+hello world
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/eval/desc b/t/recipes/checks/menus/menus-doc-base-registration/eval/desc
new file mode 100644
index 0000000..fb62c9a
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/eval/desc
@@ -0,0 +1,2 @@
+Testname: menus-doc-base-registration
+Check: menus
diff --git a/t/recipes/checks/menus/menus-doc-base-registration/eval/hints b/t/recipes/checks/menus/menus-doc-base-registration/eval/hints
new file mode 100644
index 0000000..d5f2c47
--- /dev/null
+++ b/t/recipes/checks/menus/menus-doc-base-registration/eval/hints
@@ -0,0 +1,2 @@
+menus-doc-base-registration-pdf (binary): possible-documentation-but-no-doc-base-registration
+menus-doc-base-registration-html (binary): possible-documentation-but-no-doc-base-registration