[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.10-33-g86f1250



The following commit has been merged in the master branch:
commit 86f125048dc6dbdc70e003146f0b63ff86434b37
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Jul 13 15:14:27 2012 +0200

    t: Extend manpages-general
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/t/COVERAGE b/t/COVERAGE
index 4df8266..234fcf8 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2012-07-13
-Coverage: 827/964 (85.79%), w. legacy tests: 928/964 (96.27%)
+Coverage: 829/964 (86.00%), w. legacy tests: 930/964 (96.47%)
 
 The following tags are not tested by the test suite:
 
@@ -30,9 +30,6 @@ files udeb-contains-documentation-file
 init.d duplicate-updaterc.d-calls-in-postinst
 init.d file-in-etc-rc.d-marked-as-conffile
 
-manpages FSSTND-dir-in-manual-page
-manpages bad-so-link-within-manual-page
-
 menu-format menu-item-contains-unknown-tag
 menu-format menu-item-needs-dwww
 menu-format old-format-menu-file
diff --git a/t/tests/manpages-general/debian/bad-so.1 b/t/tests/manpages-general/debian/bad-so.1
new file mode 100644
index 0000000..8e50cfc
--- /dev/null
+++ b/t/tests/manpages-general/debian/bad-so.1
@@ -0,0 +1 @@
+.so ../somewhere/invalid/manpage.1
diff --git a/t/tests/manpages-general/debian/debian/rules b/t/tests/manpages-general/debian/debian/rules
index 03d0f76..ca84f25 100755
--- a/t/tests/manpages-general/debian/debian/rules
+++ b/t/tests/manpages-general/debian/debian/rules
@@ -54,6 +54,7 @@ override_dh_auto_install:
 	install -d $(tmp)/usr/share/man/de_DE/man1
 	gzip -c9 < test.1p.utf-8 \
 	    > $(tmp)/usr/share/man/de_DE/man1/test-utf8-chars.1p.gz
+	gzip -c9 < bad-so.1 > $(tmp)/usr/share/man/man1/bad-so.1.gz
 
 	gzip -c9 <include.3 >$(tmp)/usr/share/man/man3/include.3.gz
 	gzip -c9 <included.3 >$(tmp)/usr/share/man/man3/included.3.gz
diff --git a/t/tests/manpages-general/debian/test.1p b/t/tests/manpages-general/debian/test.1p
index 549d64a..3e02c04 100644
--- a/t/tests/manpages-general/debian/test.1p
+++ b/t/tests/manpages-general/debian/test.1p
@@ -9,6 +9,8 @@
 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
diff --git a/t/tests/manpages-general/desc b/t/tests/manpages-general/desc
index 5fb7760..f1779e4 100644
--- a/t/tests/manpages-general/desc
+++ b/t/tests/manpages-general/desc
@@ -3,7 +3,9 @@ Sequence: 6000
 Version: 1.0
 Description: General tests for manpage checks
 Test-For:
+ FSSTND-dir-in-manual-page
  bad-link-to-undocumented-manpage
+ bad-so-link-within-manual-page
  binary-without-english-manpage
  empty-manual-page
  hyphen-used-as-minus-sign
diff --git a/t/tests/manpages-general/tags b/t/tests/manpages-general/tags
index 0fe73f1..497efff 100644
--- a/t/tests/manpages-general/tags
+++ b/t/tests/manpages-general/tags
@@ -1,4 +1,5 @@
 E: manpages-general: bad-link-to-undocumented-manpage usr/share/man/man1/sbin-binary.1.gz
+E: manpages-general: bad-so-link-within-manual-page usr/share/man/man1/bad-so.1.gz
 E: manpages-general: empty-manual-page usr/share/man/de/man1/binary-without-english-manpage.1
 E: manpages-general: empty-manual-page usr/share/man/man1/usr-bin-binary-alt.1.gz
 E: manpages-general: empty-manual-page usr/share/man/man1/usr-bin-binary.1
@@ -18,6 +19,7 @@ E: manpages-general: package-installs-file-to-usr-x11r6 usr/X11R6/bin/rstartd
 E: manpages-general: package-installs-file-to-usr-x11r6 usr/X11R6/man/
 E: manpages-general: package-installs-file-to-usr-x11r6 usr/X11R6/man/man1/
 E: manpages-general: package-installs-file-to-usr-x11r6 usr/X11R6/man/man1/rstartd.1x.gz
+I: manpages-general: FSSTND-dir-in-manual-page usr/share/man/man1/test.1p.gz:13 /var/catman/
 I: manpages-general: hyphen-used-as-minus-sign usr/share/man/man3/include.3.gz:11
 I: manpages-general: hyphen-used-as-minus-sign usr/share/man/man3/include.3.gz:12
 I: manpages-general: hyphen-used-as-minus-sign usr/share/man/man3/include.3.gz:13
@@ -35,9 +37,9 @@ W: manpages-general: manpage-has-bad-whatis-entry usr/share/man/man1/usr-bin-bin
 W: manpages-general: manpage-has-bad-whatis-entry usr/share/man/man1/usr-bin-binary.1
 W: manpages-general: manpage-has-bad-whatis-entry usr/share/man/man1/usr-sbin-binary.1.gz
 W: manpages-general: manpage-has-bad-whatis-entry usr/share/man/man6/usr-games-binary.6.gz
-W: manpages-general: manpage-has-errors-from-man usr/share/man/man1/test.1p.gz 12: warning: macro `dep' not defined (possibly missing space after `de')
+W: manpages-general: manpage-has-errors-from-man usr/share/man/man1/test.1p.gz 14: warning: macro `dep' not defined (possibly missing space after `de')
 W: manpages-general: manpage-has-errors-from-man usr/share/man/man3/included.3.gz 6: warning: macro `zY' not defined
-W: manpages-general: manpage-has-errors-from-pod2man usr/share/man/man1/test.1p.gz:17
+W: manpages-general: manpage-has-errors-from-pod2man usr/share/man/man1/test.1p.gz:19
 W: manpages-general: manpage-has-useless-whatis-entry usr/share/man/man1/true.1.gz
 W: manpages-general: manpage-locale-dir-country-specific usr/share/man/de_DE/man1/test-utf8-chars.1p.gz
 W: manpages-general: manpage-section-mismatch usr/X11R6/man/man1/rstartd.1x.gz:5 1x != 1

-- 
Debian package checker


Reply to: