summaryrefslogtreecommitdiffstats
path: root/t/recipes/checks/documentation/manual/manpages-general
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/manpages-general
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/manpages-general')
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install7
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links12
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages1
-rwxr-xr-xt/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules37
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values3
-rwxr-xr-xt/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd3
-rwxr-xr-xt/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage3
-rwxr-xr-xt/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary3
-rwxr-xr-xt/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt3
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-de/binary-without-english-manpage.10
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x62
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.13
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.11
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.330
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.310
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.162
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p10
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p10
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p24
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p16
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.144
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.13
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-games-binary.60
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod18
-rwxr-xr-xt/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary3
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/eval/desc3
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/eval/hints32
-rw-r--r--t/recipes/checks/documentation/manual/manpages-general/eval/post-test3
28 files changed, 406 insertions, 0 deletions
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install
new file mode 100644
index 0000000..b9b899b
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/install
@@ -0,0 +1,7 @@
+bin/* /usr/bin
+sbin/* /usr/sbin
+bin-x/* /usr/X11R6/bin
+man-x/* /usr/X11R6/man/man1
+man-de/* /usr/share/man/de/man1
+man/test-latin1-chars.1p /usr/share/man/de/man1
+man/test-utf8-chars.1p /usr/share/man/de_DE/man1
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links
new file mode 100644
index 0000000..a0fa20a
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/links
@@ -0,0 +1,12 @@
+usr/X11R6/bin/rstartd /usr/bin/rstartd
+usr/share/man/man7/undocumented.7.gz /usr/share/man/man1/bin-binary.1.gz
+usr/share/man/man3/undocumented.3.gz /usr/share/man/man3/function.3.gz
+usr/bin/usr-bin-binary usr/bin/sbin-binary
+usr/bin/usr-bin-binary usr/bin/test
+usr/bin/usr-bin-binary usr/bin/true
+usr/bin/usr-bin-binary usr/bin/program
+usr/bin/usr-bin-binary usr/bin/bin-binary
+usr/bin/usr-bin-binary usr/bin/bad-so
+usr/bin/usr-bin-binary usr/bin/README
+usr/bin/usr-bin-binary usr/bin/test-utf8-chars
+usr/bin/usr-bin-binary usr/bin/test-latin1-chars
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages
new file mode 100644
index 0000000..85c5e00
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/manpages
@@ -0,0 +1 @@
+man/*
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules
new file mode 100755
index 0000000..648f144
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/debian/rules
@@ -0,0 +1,37 @@
+#!/usr/bin/make -f
+
+tmp := $(CURDIR)/debian/$(shell dh_listpackages)
+
+%:
+ dh $@
+
+override_dh_installman:
+ dh_installman
+
+ install -d $(tmp)/usr/share/man/man1 \
+ $(tmp)/usr/share/man/man6
+
+ touch $(tmp)/usr/share/man/man1/usr-sbin-binary.1.gz
+
+ pod2man --section 6 pod/simple.pod > \
+ $(tmp)/usr/share/man/man6/simple.pod
+
+ pod2man --section 6 pod/simple.pod > \
+ $(tmp)/usr/share/man/man6/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.6
+
+override_dh_link:
+ dh_link
+
+ ln -s undocumented.7.gz $(tmp)/usr/share/man/man1/sbin-binary.1.gz
+
+ cd $(tmp)/usr/share/man/man1 \
+ && ln usr-sbin-binary.1.gz usr-bin-binary-alt.1.gz
+
+override_dh_compress:
+ dh_compress \
+ --exclude=usr-bin-binary.1 \
+ --exclude=binary-without-english-manpage.1 \
+ --exclude=usr-games-binary.6 \
+ --exclude=usr-sbin-binary.1.gz
+
+ gzip -n -1 $(tmp)/usr/share/man/man6/usr-games-binary.6
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values b/t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values
new file mode 100644
index 0000000..156ec44
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/fill-values
@@ -0,0 +1,3 @@
+Skeleton: upload-native
+Testname: manpages-general
+Description: General tests for manpage checks
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd
new file mode 100755
index 0000000..296ef78
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin-x/rstartd
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+true
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage
new file mode 100755
index 0000000..296ef78
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/binary-without-english-manpage
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+true
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary
new file mode 100755
index 0000000..296ef78
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+true
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt
new file mode 100755
index 0000000..296ef78
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/bin/usr-bin-binary-alt
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+true
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-de/binary-without-english-manpage.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-de/binary-without-english-manpage.1
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-de/binary-without-english-manpage.1
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x
new file mode 100644
index 0000000..8d8da5d
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man-x/rstartd.1x
@@ -0,0 +1,62 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH PROGRAM 1 "2007-06-18"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+program \- program to do something
+.SH SYNOPSIS
+.B program
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B program
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBprogram\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+This is a speling mistake.
+This is the false-positive spelling mistake for the proper noun German.
+This is the false-positive spelling mistake for the quasi-plural directory(S).
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+program was written by <upstream author>.
+.PP
+This manual page was written by #USERNAME# <#EMAIL#>,
+for the Debian project (but may be used by others).
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.1
new file mode 100644
index 0000000..d884f62
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/README.1
@@ -0,0 +1,3 @@
+.TH PROGRAM 1 "2013-07-22"
+.SH NAME
+README \- dummy manual page
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.1
new file mode 100644
index 0000000..8e50cfc
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/bad-so.1
@@ -0,0 +1 @@
+.so ../somewhere/invalid/manpage.1
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.3 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.3
new file mode 100644
index 0000000..9cc411e
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/include.3
@@ -0,0 +1,30 @@
+.TH INCLUDE 3
+.SH NAME
+include \- include another chunk of a man page
+.SH INCLUDED BIT
+.nr zY 1
+.so man3/included.3
+.SH HYPHENS
+This isn't a hyphen\*(--just a long dash\*(--and \h'-1' also isn't, nor
+should we warn about `\-' or \-a, but -a
+and `-' (nope, that's fine) are bad news. So is
+--foo and
+(--bar)
+"--baz"
+and '--foo'.
+So is \f[C]--foo\f[P].
+.\" Draft Mode example from sinfo man page from slurm-llnl. Draft mode
+.\" disables the normal operation of the backslash character, so we can't
+.\" tell users to use \- inside draft mode. These hyphens should
+.\" therefore not warn.
+.eo
+.nf
+> sinfo
+PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
+batch up infinite 2 alloc adev[8-9]
+batch up infinite 6 idle adev[10-15]
+debug* up 30:00 8 idle adev[0-7]
+.fi
+.ec
+.SH SEE ALSO
+included(3)
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.3 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.3
new file mode 100644
index 0000000..c0379db
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/included.3
@@ -0,0 +1,10 @@
+.if \n(zY=1 .ig zY
+.TH INCLUDED 3
+.SH NAME
+included \- both a man page and a dessert topping
+.SH INCLUDED BIT
+.zY
+This stuff ends up in both man pages. Isn't it neat?
+.if \n(zY=1 .ig zY
+.SH SEE ALSO
+include(3)
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.1
new file mode 100644
index 0000000..8d8da5d
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/program.1
@@ -0,0 +1,62 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH PROGRAM 1 "2007-06-18"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+program \- program to do something
+.SH SYNOPSIS
+.B program
+.RI [ options ] " files" ...
+.br
+.B bar
+.RI [ options ] " files" ...
+.SH DESCRIPTION
+This manual page documents briefly the
+.B program
+and
+.B bar
+commands.
+.PP
+.\" TeX users may be more comfortable with the \fB<whatever>\fP and
+.\" \fI<whatever>\fP escape sequences to invode bold face and italics,
+.\" respectively.
+\fBprogram\fP is a program that...
+.SH OPTIONS
+These programs follow the usual GNU command line syntax, with long
+options starting with two dashes (`-').
+A summary of options is included below.
+For a complete description, see the Info files.
+This is a speling mistake.
+This is the false-positive spelling mistake for the proper noun German.
+This is the false-positive spelling mistake for the quasi-plural directory(S).
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+.SH SEE ALSO
+.BR bar (1),
+.BR baz (1).
+.br
+The programs are documented fully by
+.IR "The Rise and Fall of a Fooish Bar" ,
+available via the Info system.
+.SH AUTHOR
+program was written by <upstream author>.
+.PP
+This manual page was written by #USERNAME# <#EMAIL#>,
+for the Debian project (but may be used by others).
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p
new file mode 100644
index 0000000..8891e8c
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-latin1-chars.1p
@@ -0,0 +1,10 @@
+.IX Title "TEST 1"
+.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux Handbuch"
+.SH "NAME"
+\&\fBTEST\fR \- Eine Test-Manpage mit .1P Erweiterung.
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+\&\fBTEST\fR tests lintian.
+.PP
+Diese Seite dient hauptsächlich dem Testen von latin1-Buchstaben, wie äöüß
+in Manpages.
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p
new file mode 100644
index 0000000..1b409c7
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test-utf8-chars.1p
@@ -0,0 +1,10 @@
+.IX Title "TEST 1"
+.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux Handbuch"
+.SH "NAME"
+\&\fBTEST\fR \- Eine Test-Manpage mit .1P Erweiterung.
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+\&\fBTEST\fR tests lintian.
+.PP
+Diese Seite dient hauptsächlich dem Testen von latin1-Buchstaben, wie äöüß
+in Manpages.
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p
new file mode 100644
index 0000000..3e02c04
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.1p
@@ -0,0 +1,24 @@
+.IX Title "TEST 1"
+.TH TEST 1P "2004-12-18" "Debian Project" "Debian GNU/Linux manual"
+.SH "NAME"
+\&\fBTEST\fR \- A test manpage with a .1P extension.
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+\&\fBTEST\fR tests lintian.
+.PP
+Use more up-level tools like human brains to understand lintian.
+Here's a bad undefined macro.
+Here's a serious syntax error.
+.SH "FILES"
+This program does not use /var/catman/do or any other FSSTND location.
+.dep
+.PP
+.nh
+http://example.org/really/long/url/that/cannot/be/wrapped/and/will/produce/errors/from/man
+.\" Copied from caff(1)
+.SH "POD ERRORS"
+.IX Header "POD ERRORS"
+Hey! \fBThe above document had some coding errors, which are explained below:\fR
+.IP "Around line 138:" 4
+.IX Item "Around line 138:"
+You forgot a '=back' before '=head2'
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p
new file mode 100644
index 0000000..c8a8680
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/test.3p
@@ -0,0 +1,16 @@
+.IX Title "TEST 3"
+.TH TEST 3P "2009-08-26" "Debian Project" "Debian GNU/Linux manual"
+.SH "NAME"
+\&\fBTEST\fR \- A test manpage with a .3P extension.
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+.PP
+Use more up-level tools like human brains to understand lintian.
+.PP
+.nh
+https://example.org/really/long/url/that/cannot/be/wrapped/and/will/produce/errors/from/man
+.\" URL extension, copied from wmweather+. Should not be tagged as too
+.\" long of a line.
+.UR http://weather.noaa.gov/pub/data/observations/metar/stations/
+http://weather.noaa.gov/pub/data/observations/metar/stations/
+.UE
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.1
new file mode 100644
index 0000000..bcb13cd
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/true.1
@@ -0,0 +1,44 @@
+.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.36.
+.TH TRUE "1" "July 2006" "true 5.96" "User Commands"
+.SH NAME
+true \- manual page for true 5.96
+.SH SYNOPSIS
+.B true
+[\fIignored command line arguments\fR]
+.br
+.B true
+\fIOPTION\fR
+.SH DESCRIPTION
+Exit with a status code indicating success.
+.TP
+\fB\-\-help\fR
+display this help and exit
+.TP
+\fB\-\-version\fR
+output version information and exit
+.PP
+NOTE: your shell may have its own version of true, which usually supersedes
+the version described here. Please refer to your shell's documentation
+for details about the options it supports.
+.SH AUTHOR
+Written by Jim Meyering.
+.SH "REPORTING BUGS"
+Report bugs to <bug\-coreutils@gnu.org>.
+.SH COPYRIGHT
+Copyright \(co 2006 Free Software Foundation, Inc.
+.br
+This is free software. You may redistribute copies of it under the terms of
+the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
+There is NO WARRANTY, to the extent permitted by law.
+.SH "SEE ALSO"
+The full documentation for
+.B true
+is maintained as a Texinfo manual. If the
+.B info
+and
+.B true
+programs are properly installed at your site, the command
+.IP
+.B info true
+.PP
+should give you access to the complete manual.
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.1 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.1
new file mode 100644
index 0000000..dc553f4
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-bin-binary.1
@@ -0,0 +1,3 @@
+.TH PROGRAM 1 "2013-07-22"
+.SH NAME
+usr-bin-binary
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-games-binary.6 b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-games-binary.6
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/man/usr-games-binary.6
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod
new file mode 100644
index 0000000..822815b
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/pod/simple.pod
@@ -0,0 +1,18 @@
+=head1 NAME
+
+simple - some interesting manpage
+
+=head1 SYNOPSIS
+
+Explains something interesting
+
+=head1 DESCRIPTION
+
+A very long description of something very interesting. Really!
+
+=head1 AUTHORS
+
+Niels Thykier <niels@thykier.net>
+
+=cut
+
diff --git a/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary
new file mode 100755
index 0000000..296ef78
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/build-spec/orig/sbin/usr-sbin-binary
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+true
diff --git a/t/recipes/checks/documentation/manual/manpages-general/eval/desc b/t/recipes/checks/documentation/manual/manpages-general/eval/desc
new file mode 100644
index 0000000..64846c0
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/eval/desc
@@ -0,0 +1,3 @@
+Testname: manpages-general
+Test-Depends: groff-base (>= 1.22.4)
+Check: documentation/manual
diff --git a/t/recipes/checks/documentation/manual/manpages-general/eval/hints b/t/recipes/checks/documentation/manual/manpages-general/eval/hints
new file mode 100644
index 0000000..7aa0713
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/eval/hints
@@ -0,0 +1,32 @@
+manpages-general (binary): wrong-name-for-manual-page [usr/share/man/man6/simple.pod.gz]
+manpages-general (binary): wrong-manual-section pod != 6 [usr/share/man/man6/simple.pod.gz:LINE]
+manpages-general (binary): wrong-compression-in-manual-page [usr/share/man/man1/usr-sbin-binary.1.gz]
+manpages-general (binary): wrong-compression-in-manual-page [usr/share/man/man1/usr-bin-binary-alt.1.gz]
+manpages-general (binary): useless-whatis-entry [usr/share/man/man1/true.1.gz]
+manpages-general (binary): undocumented-manual-page [usr/share/man/man3/function.3.gz]
+manpages-general (binary): undocumented-manual-page [usr/share/man/man1/bin-binary.1.gz]
+manpages-general (binary): uncompressed-manual-page [usr/share/man/man1/usr-bin-binary.1]
+manpages-general (binary): uncompressed-manual-page [usr/share/man/de/man1/binary-without-english-manpage.1]
+manpages-general (binary): typo-in-manual-page speling spelling [usr/share/man/man1/program.1.gz:42]
+manpages-general (binary): poor-compression-in-manual-page [usr/share/man/man6/usr-games-binary.6.gz]
+manpages-general (binary): pod-conversion-message [usr/share/man/man1/test.1P.gz:19]
+manpages-general (binary): no-manual-page [usr/bin/rstartd]
+manpages-general (binary): no-english-manual-page [usr/bin/binary-without-english-manpage]
+manpages-general (binary): manual-page-with-generic-name [usr/share/man/man1/README.1.gz]
+manpages-general (binary): manual-page-from-template [usr/share/man/man1/program.1.gz]
+manpages-general (binary): manual-page-for-system-command [usr/sbin/usr-sbin-binary]
+manpages-general (binary): groff-message troff:man3/included.3:8: error: end of file while ignoring input lines [usr/share/man/man3/include.3.gz:3]
+manpages-general (binary): groff-message troff:man3/included.3:6: warning: macro 'zY' not defined [usr/share/man/man3/include.3.gz:1]
+manpages-general (binary): groff-message troff:man3/included.3:13: warning: macro '--' not defined [usr/share/man/man3/include.3.gz:2]
+manpages-general (binary): groff-message troff:<standard input>:6: warning: macro 'zY' not defined [usr/share/man/man3/included.3.gz:1]
+manpages-general (binary): groff-message troff:<standard input>:14: warning: macro 'dep' not defined (possibly missing space after 'de') [usr/share/man/man1/test.1P.gz:2]
+manpages-general (binary): empty-manual-page [usr/share/man/man6/usr-games-binary.6.gz]
+manpages-general (binary): empty-manual-page [usr/share/man/man1/usr-sbin-binary.1.gz]
+manpages-general (binary): empty-manual-page [usr/share/man/man1/usr-bin-binary-alt.1.gz]
+manpages-general (binary): empty-manual-page [usr/share/man/de/man1/binary-without-english-manpage.1]
+manpages-general (binary): country-in-manual [usr/share/man/de_DE/man1/test-utf8-chars.1p.gz]
+manpages-general (binary): build-path-in-manual [usr/share/man/man6/_build_buildd-openchangex_1.0-3-i386-mbKpOA_openchange-1.0_simple.6.gz]
+manpages-general (binary): broken-link-to-undocumented [usr/share/man/man1/sbin-binary.1.gz]
+manpages-general (binary): bad-whatis-entry [usr/share/man/man1/usr-bin-binary.1]
+manpages-general (binary): bad-so-link-within-manual-page [usr/share/man/man1/bad-so.1.gz]
+manpages-general (binary): FSSTND-dir-in-manual-page /var/catman/ [usr/share/man/man1/test.1P.gz:13]
diff --git a/t/recipes/checks/documentation/manual/manpages-general/eval/post-test b/t/recipes/checks/documentation/manual/manpages-general/eval/post-test
new file mode 100644
index 0000000..982bf36
--- /dev/null
+++ b/t/recipes/checks/documentation/manual/manpages-general/eval/post-test
@@ -0,0 +1,3 @@
+# pod2man from perl 5.14 and 5.18 add different amounts of "groff
+# boilerplate", so the line number differs.
+s/simple\.pod\.gz:[0-9][0-9]*/simple.pod.gz:LINE/