summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/documentation/manual/manpage-section-mismatch
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/documentation/manual/manpage-section-mismatch
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/documentation/manual/manpage-section-mismatch')
-rw-r--r--t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install1
-rw-r--r--t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values3
-rw-r--r--t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.311
-rw-r--r--t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/desc3
-rw-r--r--t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints1
5 files changed, 19 insertions, 0 deletions
diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install
new file mode 100644
index 0000000..30a1a5f
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/debian/install
@@ -0,0 +1 @@
+section.3 /usr/share/man/man3/
diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values
new file mode 100644
index 0000000..58051f4
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: manpage-section-mismatch
+Description: Manual page for which the file extension does not match the section
diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.3 b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.3
new file mode 100644
index 0000000..a72dfb9
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/build-spec/orig/section.3
@@ -0,0 +1,11 @@
+.TH fixcr 7
+.SH NAME
+fixcr \- make sure that there is a CR before each LF
+.SH SYNOPSIS
+.B fixcr
+.SH DESCRIPTION
+.B fixcr
+inserts CR at the end of each line of input where a CR is not already present.
+It does not insert CR at the end of a partial final line.
+.SH "SEE ALSO"
+addcr(1)
diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/desc b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/desc
new file mode 100644
index 0000000..4f2b5bd
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/desc
@@ -0,0 +1,3 @@
+Testname: manpage-section-mismatch
+Test-Depends: groff-base (>= 1.22.4)
+Check: documentation/manual
diff --git a/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints
new file mode 100644
index 0000000..7f0d9e1
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpage-section-mismatch/eval/hints
@@ -0,0 +1 @@
+manpage-section-mismatch (binary): wrong-manual-section 3 != 7 [usr/share/man/man3/section.3.gz:1]