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

Bug#637649: lintian: copyright files in test debs with wrong permissions



Package: lintian
Version: 2.5.2
Severity: important

If I set a restrictive umask and then unpack lintian source, some tests fail:

$ umask 077
$ apt-get source -qq lintian
dpkg-source: info: extracting lintian in lintian-2.5.2
dpkg-source: info: unpacking lintian_2.5.2.tar.gz
$ cd lintian-2.5.2/
$ LC_ALL=C ./debian/rules runtests onlyrun=control-files-bad
.... running tests ....
rm -rf "/path/to/lintian-2.5.2/debian/test-out"
mkdir "/path/to/lintian-2.5.2/debian/test-out"
private/runtests  control-files-bad
Generating en_US.UTF-8 locale for the test suite
Package tests (debs):
Running control-files-bad... building... testing... FAILED:
--- t/debs/control-files-bad/tags	2011-07-31 22:51:07.000000000 +0200
+++ /path/to/lintian-2.5.2/debian/test-out/tags.control-files-bad	2011-08-13 14:17:06.980293312 +0200
@@ -1,2 +1,3 @@
 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
+W: control-files-bad: non-standard-file-perm usr/share/doc/control-files-bad/copyright 0600 != 0644
make: *** [runtests] Error 1

--
Jakub Wilk



Reply to: