diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-14 13:42:30 +0000 |
commit | 75808db17caf8b960b351e3408e74142f4c85aac (patch) | |
tree | 7989e9c09a4240248bf4658a22208a0a52d991c4 /t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage | |
parent | Initial commit. (diff) | |
download | lintian-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/documentation/manual/bad-link-to-undocumented-manpage')
8 files changed, 35 insertions, 0 deletions
diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install new file mode 100644 index 0000000..0fba49e --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/install @@ -0,0 +1 @@ +bin/* usr/bin/ diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages new file mode 100644 index 0000000..67a8262 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/manpages @@ -0,0 +1 @@ +undocumented.7 diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules new file mode 100755 index 0000000..e0581b1 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +tmp := $(CURDIR)/debian/$(shell dh_listpackages) + +%: + dh $@ + +override_dh_link: + dh_link + + install -d $(tmp)/usr/share/man/man1 + ln -s undocumented.7.gz $(tmp)/usr/share/man/man1/sbin-binary.1.gz diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/fill-values b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/fill-values new file mode 100644 index 0000000..0348cd4 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/fill-values @@ -0,0 +1,3 @@ +Skeleton: upload-native +Testname: bad-link-to-undocumented-manpage +Description: Manual page that is a bad link to an undocumented man page diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/bin/sbin-binary b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/bin/sbin-binary new file mode 100755 index 0000000..296ef78 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/bin/sbin-binary @@ -0,0 +1,3 @@ +#!/bin/sh + +true diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/undocumented.7 b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/undocumented.7 new file mode 100644 index 0000000..a72dfb9 --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/build-spec/orig/undocumented.7 @@ -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/bad-link-to-undocumented-manpage/eval/desc b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/desc new file mode 100644 index 0000000..c6f22fb --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/desc @@ -0,0 +1,3 @@ +Testname: bad-link-to-undocumented-manpage +Test-Depends: groff-base (>= 1.22.4) +Check: documentation/manual diff --git a/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/hints b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/hints new file mode 100644 index 0000000..c28379f --- /dev/null +++ b/t/recipes/checks/documentation/manual/bad-link-to-undocumented-manpage/eval/hints @@ -0,0 +1 @@ +bad-link-to-undocumented-manpage (binary): broken-link-to-undocumented [usr/share/man/man1/sbin-binary.1.gz] |