[SCM] Debian package checker branch, master, updated. 2.5.1-5-gbf21671
The following commit has been merged in the master branch:
commit bf21671356e67c65ffaea7495de9e91470a2e39f
Author: Niels Thykier <niels@thykier.net>
Date: Thu Jun 23 21:24:07 2011 +0200
Add foreign-package symlink test
diff --git a/t/COVERAGE b/t/COVERAGE
index 9be5985..252705e 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,4 +1,4 @@
-Last generated 2011-06-14
+Last generated 2011-06-23
The following tags are not tested by the test suite:
@@ -24,8 +24,6 @@ control-files control-file-has-bad-owner
control-files not-allowed-control-file
control-files unknown-control-file
-copyright-file cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package
-
cruft documentation-package-not-architecture-independent
cruft source-contains-prebuilt-windows-binary
diff --git a/t/debs/fields-malformed-source/Makefile b/t/debs/copyright-file-foreign-package/Makefile
similarity index 50%
copy from t/debs/fields-malformed-source/Makefile
copy to t/debs/copyright-file-foreign-package/Makefile
index dd9605a..9b8aee0 100644
--- a/t/debs/fields-malformed-source/Makefile
+++ b/t/debs/copyright-file-foreign-package/Makefile
@@ -1,15 +1,13 @@
-name = fields-malformed-source
+name = copyright-file-foreign-package
all:
echo '2.0' > debian-binary
- mkdir -p usr/share/doc/$(name)
- cp copyright changelog usr/share/doc/$(name)
- gzip -9 usr/share/doc/$(name)/changelog
+ mkdir -p usr/share/doc/
+ ln -s other-package usr/share/doc/$(name)
tar cfz data.tar.gz usr
chown 0:0 control
chmod 644 control
- md5sum usr/share/doc/$(name)/* > md5sums
- tar cfz control.tar.gz control md5sums
+ tar cfz control.tar.gz control
ar rc $(name).deb \
debian-binary control.tar.gz data.tar.gz
diff --git a/t/debs/fields-malformed-source/changelog b/t/debs/copyright-file-foreign-package/changelog
similarity index 100%
copy from t/debs/fields-malformed-source/changelog
copy to t/debs/copyright-file-foreign-package/changelog
diff --git a/t/debs/deb-format-record-size/control b/t/debs/copyright-file-foreign-package/control
similarity index 76%
copy from t/debs/deb-format-record-size/control
copy to t/debs/copyright-file-foreign-package/control
index 7163fe9..1a57e46 100644
--- a/t/debs/deb-format-record-size/control
+++ b/t/debs/copyright-file-foreign-package/control
@@ -1,10 +1,11 @@
-Package: deb-format-record-size
+Package: copyright-file-foreign-package
Version: 1.0
Architecture: all
Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Section: devel
Priority: extra
-Description: Test package with a non-standard tar record size
+Depends: other-package
+Description: test for foreign symlink in package
This is a test package designed to exercise some feature or tag of
Lintian. It is part of the Lintian test suite and may do very odd
things. It should not be installed like a regular package. It may
diff --git a/t/debs/copyright-file-foreign-package/tags b/t/debs/copyright-file-foreign-package/tags
new file mode 100644
index 0000000..33ef1f7
--- /dev/null
+++ b/t/debs/copyright-file-foreign-package/tags
@@ -0,0 +1 @@
+I: copyright-file-foreign-package: cannot-check-whether-usr-share-doc-symlink-points-to-foreign-package
--
Debian package checker
Reply to: