[SCM] Debian package checker branch, master, updated. 2.5.1-103-ge70cd97
The following commit has been merged in the master branch:
commit 8b3bd94d4596d940246f17b4425a912a8f1ebdb5
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jul 16 11:04:25 2011 +0200
Extended existing control-files test to include perm test
diff --git a/t/COVERAGE b/t/COVERAGE
index f66fb23..dbcb3ca 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -161,7 +161,6 @@ changelog-file wrong-name-for-debian-news-file
control-file debian-control-file-uses-obsolete-national-encoding
-control-files control-file-has-bad-permissions
control-files control-file-is-empty
copyright-file old-fsf-address-in-copyright-file
@@ -438,7 +437,6 @@ foo++
wrong-debian-qa-address-set-as-maintainer
libbaz
- control-file-has-bad-permissions
ldconfig-symlink-missing-for-shlib
missing-dependency-on-perlapi
package-name-doesnt-match-sonames
diff --git a/t/debs/control-file-bad-owner/tags b/t/debs/control-file-bad-owner/tags
deleted file mode 100644
index 8c54a75..0000000
--- a/t/debs/control-file-bad-owner/tags
+++ /dev/null
@@ -1 +0,0 @@
-E: control-file-bad-owner: control-file-has-bad-owner md5sums nobody/root != root/root
diff --git a/t/debs/control-file-bad-owner/Makefile b/t/debs/control-files-bad/Makefile
similarity index 91%
rename from t/debs/control-file-bad-owner/Makefile
rename to t/debs/control-files-bad/Makefile
index b4e1d8f..518ff47 100644
--- a/t/debs/control-file-bad-owner/Makefile
+++ b/t/debs/control-files-bad/Makefile
@@ -1,4 +1,4 @@
-name = control-file-bad-owner
+name = control-files-bad
all:
echo '2.0' > debian-binary
@@ -9,6 +9,7 @@ all:
chown 0:0 control
chmod 644 control
md5sum usr/share/doc/$(name)/* > md5sums
+ chmod 755 md5sums
tar -czf control.tar.gz --owner=nobody control md5sums
ar rc $(name).deb \
debian-binary control.tar.gz data.tar.gz
diff --git a/t/debs/control-file-bad-owner/changelog b/t/debs/control-files-bad/changelog
similarity index 69%
rename from t/debs/control-file-bad-owner/changelog
rename to t/debs/control-files-bad/changelog
index 7b61891..23d3783 100644
--- a/t/debs/control-file-bad-owner/changelog
+++ b/t/debs/control-files-bad/changelog
@@ -1,4 +1,4 @@
-control-file-bad-owner (1.0) unstable; urgency=low
+control-files-bad (1.0) unstable; urgency=low
* A Lintian test case.
diff --git a/t/debs/control-file-bad-owner/control b/t/debs/control-files-bad/control
similarity index 92%
rename from t/debs/control-file-bad-owner/control
rename to t/debs/control-files-bad/control
index 8c78b5e..705e61e 100644
--- a/t/debs/control-file-bad-owner/control
+++ b/t/debs/control-files-bad/control
@@ -1,4 +1,4 @@
-Package: control-file-bad-owner
+Package: control-files-bad
Version: 1.0
Architecture: all
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
diff --git a/t/debs/control-file-bad-owner/copyright b/t/debs/control-files-bad/copyright
similarity index 100%
rename from t/debs/control-file-bad-owner/copyright
rename to t/debs/control-files-bad/copyright
diff --git a/t/debs/control-files-bad/tags b/t/debs/control-files-bad/tags
new file mode 100644
index 0000000..1100f6b
--- /dev/null
+++ b/t/debs/control-files-bad/tags
@@ -0,0 +1,2 @@
+E: control-files-bad: control-file-has-bad-owner md5sums nobody/root != root/root
+E: control-files-bad: control-file-has-bad-permissions md5sums 0755 != 0644
--
Debian package checker
Reply to: