[SCM] Debian package checker branch, master, updated. 2.5.4-26-g4ff440f
The following commit has been merged in the master branch:
commit 4ff440f45321138d6672033e8d2b366e497039e3
Author: Niels Thykier <niels@thykier.net>
Date: Sun Dec 4 14:46:54 2011 +0100
Added test for the latest tag and did a whitespace fix
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/checks/scripts b/checks/scripts
index 69e38b0..1857b4b 100644
--- a/checks/scripts
+++ b/checks/scripts
@@ -888,7 +888,7 @@ while (<SCRIPTS>) {
}
if ($file eq 'preinst') {
if (m/^\s*dpkg-maintscript-helper(?:\s|\z)/ &&
- !$info->relation('pre-depends')->implies('dpkg (>= 1.15.7.2~)')) {
+ !$info->relation('pre-depends')->implies('dpkg (>= 1.15.7.2~)')) {
tag 'preinst-uses-dpkg-maintscript-helper-without-predepends', "$file:$.";
}
}
diff --git a/t/COVERAGE b/t/COVERAGE
index 31217cf..270e33f 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
-Last generated 2011-11-30
-Coverage: 777/949 (81.88%), w. legacy tests: 885/949 (93.26%)
+Last generated 2011-12-04
+Coverage: 778/950 (81.89%), w. legacy tests: 886/950 (93.26%)
The following tags are not tested by the test suite:
diff --git a/t/tests/scripts-maintainer-general/desc b/t/tests/scripts-maintainer-general/desc
index c861a19..5c75566 100644
--- a/t/tests/scripts-maintainer-general/desc
+++ b/t/tests/scripts-maintainer-general/desc
@@ -2,6 +2,7 @@ Testname: scripts-maintainer-general
Sequence: 6000
Type: native
Version: 1.0
+Profile: ubuntu/main
Description: Check general problems in maintainer scripts
Test-For:
command-with-path-in-maintainer-script
@@ -21,7 +22,8 @@ Test-For:
maintainer-shell-script-fails-syntax-check
mknod-in-maintainer-script
possibly-insecure-handling-of-tmp-files-in-maintainer-script
+ preinst-uses-dpkg-maintscript-helper-without-predepends
read-in-maintainer-script
start-stop-daemon-in-maintainer-script
suidregister-used-in-maintainer-script
-References: Debian Bug#532984
+References: Debian Bug#532984, Debian Bug#602249
diff --git a/t/tests/scripts-maintainer-general/tags b/t/tests/scripts-maintainer-general/tags
index 5dbdee4..c93a8ee 100644
--- a/t/tests/scripts-maintainer-general/tags
+++ b/t/tests/scripts-maintainer-general/tags
@@ -9,6 +9,7 @@ E: scripts-maintainer-general: maintainer-script-modifies-netbase-managed-file p
E: scripts-maintainer-general: maintainer-script-uses-dpkg-status-directly postinst
E: scripts-maintainer-general: maintainer-shell-script-fails-syntax-check prerm
E: scripts-maintainer-general: mknod-in-maintainer-script postinst:125
+E: scripts-maintainer-general: preinst-uses-dpkg-maintscript-helper-without-predepends preinst:5
E: scripts-maintainer-general: read-in-maintainer-script postinst:10
E: scripts-maintainer-general: suidregister-used-in-maintainer-script postinst
W: scripts-maintainer-general: command-with-path-in-maintainer-script postinst:117 /usr/bin/foo
--
Debian package checker
Reply to: