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

[SCM] Debian package checker branch, master, updated. 2.2.12-48-g608bfcc



The following commit has been merged in the master branch:
commit 6c65e373f5fe67ff2156a819964c45f249d7f2a2
Author: Russ Allbery <rra@debian.org>
Date:   Sun Jul 5 02:35:57 2009 -0700

    Test manpage-related file tags in files-general

diff --git a/t/COVERAGE b/t/COVERAGE
index 4c4cc5d..0edf8ef 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -363,7 +363,6 @@ files dir-or-file-in-var-www
 files embedded-feedparser-library
 files embedded-javascript-library
 files executable-is-not-world-readable
-files executable-manpage
 files extra-license-file
 files file-directly-in-usr-share
 files file-directly-in-usr-share-doc
@@ -396,7 +395,6 @@ files run-parts-cron-filename-contains-full-stop
 files script-in-usr-share-doc
 files script-with-language-extension
 files setuid-binary
-files stray-directory-in-manpage-directory
 files subdir-in-usr-bin
 files svk-commit-file-in-package
 files svn-commit-file-in-package
@@ -843,8 +841,6 @@ maintainer-scripts
 manpages
   binary-nmu-debian-revision-in-source
   binary-nmu-uses-old-version-style
-  executable-manpage
-  stray-directory-in-manpage-directory
 
 relations
   bad-version-in-relation
diff --git a/t/tests/files-general/debian/debian/dirs b/t/tests/files-general/debian/debian/dirs
index 6ba3980..666af36 100644
--- a/t/tests/files-general/debian/debian/dirs
+++ b/t/tests/files-general/debian/debian/dirs
@@ -1,2 +1,3 @@
+usr/share/man/man1/random
 var/lock/lintian
 var/run/lintian
diff --git a/t/tests/files-general/debian/debian/manpages b/t/tests/files-general/debian/debian/manpages
new file mode 100644
index 0000000..3de6d58
--- /dev/null
+++ b/t/tests/files-general/debian/debian/manpages
@@ -0,0 +1 @@
+foo.5
diff --git a/t/tests/files-general/debian/debian/rules b/t/tests/files-general/debian/debian/rules
new file mode 100644
index 0000000..6274ad9
--- /dev/null
+++ b/t/tests/files-general/debian/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+tmp = $(CURDIR)/debian/$(shell dh_listpackages)
+
+%:
+	dh $@
+
+override_dh_fixperms:
+	dh_fixperms
+	chmod 755 $(tmp)/usr/share/man/man5/foo.5.gz
diff --git a/t/tests/files-general/debian/foo.5 b/t/tests/files-general/debian/foo.5
new file mode 100644
index 0000000..718eae1
--- /dev/null
+++ b/t/tests/files-general/debian/foo.5
@@ -0,0 +1,5 @@
+.TH FOO "5"
+.SH NAME
+foo \- file format for foo
+.SH DESCRIPTION
+This file can store anything.
diff --git a/t/tests/files-general/desc b/t/tests/files-general/desc
index 4cfcdfa..3c9e309 100644
--- a/t/tests/files-general/desc
+++ b/t/tests/files-general/desc
@@ -1,10 +1,13 @@
 Testname: files-general
 Sequence: 6000
 Version: 1.0
-Description: Test tags about file paths and names
+Description: Test tags for file paths, names, and modes
 Test-For:
  dir-or-file-in-var-lock
  dir-or-file-in-var-run
+ executable-manpage
  icon-size-and-directory-name-mismatch
  non-conf-file-in-modprobe.d
+ package-contains-empty-directory
  package-contains-info-dir-file
+ stray-directory-in-manpage-directory
diff --git a/t/tests/files-general/tags b/t/tests/files-general/tags
index ed208cc..fbca809 100644
--- a/t/tests/files-general/tags
+++ b/t/tests/files-general/tags
@@ -1,5 +1,9 @@
 E: files-general: dir-or-file-in-var-lock var/lock/lintian/
 E: files-general: dir-or-file-in-var-run var/run/lintian/
+E: files-general: executable-manpage usr/share/man/man5/foo.5.gz
 E: files-general: non-conf-file-in-modprobe.d etc/modprobe.d/--lzma
 E: files-general: package-contains-info-dir-file usr/share/info/dir.gz
+E: files-general: stray-directory-in-manpage-directory usr/share/man/man1/random/
+I: files-general: package-contains-empty-directory usr/share/man/man1/random/
+W: files-general: executable-not-elf-or-script ./usr/share/man/man5/foo.5.gz
 W: files-general: icon-size-and-directory-name-mismatch usr/share/apps/lintian/icons/hicolor/22x22/lintian-16x16.png 16x16

-- 
Debian package checker


Reply to: