[SCM] Debian package checker branch, master, updated. 2.5.1-137-g50287fd
The following commit has been merged in the master branch:
commit 226e3f2640a0c10f5793b9e4c74a268b70dc9f2b
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jul 23 13:03:24 2011 +0200
Extended files-general test
diff --git a/t/COVERAGE b/t/COVERAGE
index 68ee75e..e4fcb69 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
Last generated 2011-07-23
-Coverage: 664/913 (72.73%), w. legacy tests: 804/913 (88.06%)
+Coverage: 666/913 (72.95%), w. legacy tests: 804/913 (88.06%)
The following tags are not tested by the test suite:
@@ -176,8 +176,6 @@ files desktop-file-in-wrong-dir
files embedded-feedparser-library
files embedded-javascript-library
files executable-is-not-world-readable
-files file-name-ends-in-whitespace
-files lengthy-symlink
files macos-ds-store-file-in-package
files macos-resource-fork-file-in-package
files package-contains-bts-control-dir
@@ -305,8 +303,6 @@ binary
doc-base-invalid-document-field
doc-base-unknown-section
executable-not-elf-or-script
- file-name-ends-in-whitespace
- lengthy-symlink
menu-file-in-usr-lib
menu-item-missing-required-tag
menu-item-needs-tag-has-unknown-value
diff --git a/t/tests/files-general/debian/debian/rules b/t/tests/files-general/debian/debian/rules
index 7c4d2dd..ebda2ba 100755
--- a/t/tests/files-general/debian/debian/rules
+++ b/t/tests/files-general/debian/debian/rules
@@ -9,6 +9,7 @@ override_dh_install:
dh_install
mkdir -p $(tmp)/usr/share/foo
touch $(tmp)/usr/share/foo/'*'
+ touch $(tmp)/usr/share/foo/'ws '
override_dh_fixperms:
dh_fixperms
@@ -21,3 +22,9 @@ override_dh_compress:
gzip -1 $(tmp)/usr/share/doc/lintian/lintian-16x16.png
zcat $(tmp)/usr/share/doc/lintian/lintian-16x16.png.gz > \
$(tmp)/usr/share/doc/lintian/lintian-16x16.png
+
+override_dh_link:
+ dh_link
+ mkdir -p $(tmp)/usr/share/doc/bar
+ echo "Hallo World" > $(tmp)/usr/share/doc/bar/foo
+ ln -s ../bar/foo $(tmp)/usr/share/doc/bar/star
diff --git a/t/tests/files-general/desc b/t/tests/files-general/desc
index 33fbd64..9143a53 100644
--- a/t/tests/files-general/desc
+++ b/t/tests/files-general/desc
@@ -9,8 +9,10 @@ Test-For:
duplicated-compressed-file
executable-manpage
file-in-unusual-dir
+ file-name-ends-in-whitespace
global-data-in-games-directory
icon-size-and-directory-name-mismatch
+ lengthy-symlink
non-conf-file-in-modprobe.d
non-standard-toplevel-dir
obsolete-comments-style-in-php-ini
diff --git a/t/tests/files-general/tags b/t/tests/files-general/tags
index f1c2bb8..145af41 100644
--- a/t/tests/files-general/tags
+++ b/t/tests/files-general/tags
@@ -3,6 +3,7 @@ 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: global-data-in-games-directory usr/share/games/icons/hicolor/22x22/lintian-22x22.png
+E: files-general: lengthy-symlink usr/share/doc/bar/star ../bar/foo
E: files-general: non-conf-file-in-modprobe.d etc/modprobe.d/--lzma
E: files-general: non-standard-toplevel-dir new-top-level-dir/
E: files-general: package-contains-info-dir-file usr/share/info/dir.gz
@@ -15,6 +16,7 @@ I: files-general: duplicated-compressed-file usr/share/doc/lintian/lintian-16x16
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: file-in-unusual-dir new-top-level-dir/file-in-new-top-level-dir
+W: files-general: file-name-ends-in-whitespace usr/share/foo/ws
W: files-general: icon-size-and-directory-name-mismatch usr/share/apps/lintian/icons/hicolor/22x22/lintian-16x16.png 16x16
W: files-general: obsolete-comments-style-in-php-ini etc/php5/conf.d/php-foo.ini
W: files-general: windows-devel-file-in-package usr/lib/foo/foo.vcproj
--
Debian package checker
Reply to: