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

[SCM] Debian package checker branch, master, updated. 2.5.1-137-g50287fd



The following commit has been merged in the master branch:
commit e08b69d8331d3a968d449a0d7610be5b75e4c158
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 23 13:16:23 2011 +0200

    Extended files-bad-perm-owner with not-world-readable test

diff --git a/t/COVERAGE b/t/COVERAGE
index e4fcb69..865e2a1 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-07-23
-Coverage: 666/913 (72.95%), w. legacy tests: 804/913 (88.06%)
+Coverage: 667/913 (73.06%), w. legacy tests: 804/913 (88.06%)
 
 The following tags are not tested by the test suite:
 
@@ -175,7 +175,6 @@ debconf using-question-in-extended-description-in-templates
 files desktop-file-in-wrong-dir
 files embedded-feedparser-library
 files embedded-javascript-library
-files executable-is-not-world-readable
 files macos-ds-store-file-in-package
 files macos-resource-fork-file-in-package
 files package-contains-bts-control-dir
@@ -430,7 +429,6 @@ relations
 
 scripts
   duplicate-updaterc.d-calls-in-postrm
-  executable-is-not-world-readable
   init.d-script-has-bad-lsb-line
   init.d-script-has-duplicate-lsb-section
   init.d-script-has-unknown-lsb-keyword
diff --git a/t/tests/files-bad-perm-owner/debian/debian/binary.install b/t/tests/files-bad-perm-owner/debian/debian/binary.install
index 3064065..c759290 100644
--- a/t/tests/files-bad-perm-owner/debian/debian/binary.install
+++ b/t/tests/files-bad-perm-owner/debian/debian/binary.install
@@ -4,5 +4,6 @@ script-ugid usr/bin/
 script-gid usr/bin/
 script-wexec usr/bin/
 script-wuid usr/bin/
+script-ro usr/bin/
 script etc/cron.d/
 script etc/emacs.d/
diff --git a/t/tests/files-bad-perm-owner/debian/debian/rules b/t/tests/files-bad-perm-owner/debian/debian/rules
index ac47975..78aa93a 100644
--- a/t/tests/files-bad-perm-owner/debian/debian/rules
+++ b/t/tests/files-bad-perm-owner/debian/debian/rules
@@ -7,7 +7,7 @@ PKG:=binary
 	dh $@
 
 override_dh_auto_build:
-	for N in uid gid ugid wexec wuid; do \
+	for N in uid gid ugid wexec wuid ro; do \
 		sed s/script/script-$$N/ < script > script-$$N ; \
 		pod2man --section 1 script-$$N > script-$$N.1 ; \
 	done
@@ -24,4 +24,5 @@ override_dh_fixperms:
 	chmod +x,ug+s debian/$(PKG)/usr/bin/script-ugid
 	chmod +x,g+w  debian/$(PKG)/usr/bin/script-wexec
 	chmod u+x,u+s debian/$(PKG)/usr/bin/script-wuid
+	chmod +x,o-r  debian/$(PKG)/usr/bin/script-ro
 	chmod go-x    debian/$(PKG)/usr/share/doc/$(PKG)
diff --git a/t/tests/files-bad-perm-owner/desc b/t/tests/files-bad-perm-owner/desc
index 477b355..2132ace 100644
--- a/t/tests/files-bad-perm-owner/desc
+++ b/t/tests/files-bad-perm-owner/desc
@@ -8,6 +8,7 @@ Test-For:
  bad-permissions-for-ali-file
  bad-permissions-for-etc-cron.d-script
  bad-permissions-for-etc-emacs-script
+ executable-is-not-world-readable
  non-standard-dir-perm
  non-standard-executable-perm
  non-standard-file-perm
diff --git a/t/tests/files-bad-perm-owner/tags b/t/tests/files-bad-perm-owner/tags
index f34c26d..e1ad37b 100644
--- a/t/tests/files-bad-perm-owner/tags
+++ b/t/tests/files-bad-perm-owner/tags
@@ -2,6 +2,7 @@ E: binary: bad-owner-for-doc-file usr/share/doc/binary/README daemon/daemon != r
 E: binary: bad-permissions-for-etc-cron.d-script etc/cron.d/script 0755 != 0644
 E: binary: bad-permissions-for-etc-emacs-script etc/emacs.d/script 0755 != 0644
 W: binary: bad-permissions-for-ali-file usr/lib/some-where/sample.ali
+W: binary: executable-is-not-world-readable usr/bin/script-ro 0751
 W: binary: non-standard-dir-perm usr/share/doc/binary/ 0744 != 0755
 W: binary: non-standard-executable-perm usr/bin/script-wexec 0775 != 0755
 W: binary: non-standard-file-perm usr/share/doc/binary/read-only 0444 != 0644

-- 
Debian package checker


Reply to: