[SCM] Debian package checker branch, master, updated. 2.4.3-82-gfe637d3
The following commit has been merged in the master branch:
commit fe637d312312f128b64fde4949207568027615c3
Author: Niels Thykier <niels@thykier.net>
Date: Thu Dec 30 10:56:32 2010 +0100
Added test for two section related tags.
Last tag in the old fields test is now covered, yay!
diff --git a/t/COVERAGE b/t/COVERAGE
index 936ad84..d688773 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -200,7 +200,6 @@ changelog-file debian-news-file-not-compressed
changelog-file wrong-name-for-debian-news-file
control-file debian-control-file-uses-obsolete-national-encoding
-control-file section-area-mismatch
control-files control-file-has-bad-permissions
control-files control-file-is-empty
@@ -244,7 +243,6 @@ fields depends-on-old-emacs
fields malformed-dm-upload-allowed
fields redundant-bugs-field
fields redundant-origin-field
-fields unknown-section
fields versioned-dependency-satisfied-by-perl
fields wrong-debian-qa-address-set-as-maintainer
fields wrong-debian-qa-group-name
@@ -489,7 +487,6 @@ debug
etcfiles
fields
- unknown-section
filenames
bad-menu-file-name
@@ -583,7 +580,6 @@ relations
quilt-build-dep-but-no-series-file
redundant-bugs-field
redundant-origin-field
- section-area-mismatch
usr-share-doc-symlink-without-dependency
versioned-dependency-satisfied-by-perl
diff --git a/t/tests/fields-essential/debian/debian/control.in b/t/tests/fields-section-general/debian/debian/control.in
similarity index 66%
copy from t/tests/fields-essential/debian/debian/control.in
copy to t/tests/fields-section-general/debian/debian/control.in
index 2bd06d9..808c553 100644
--- a/t/tests/fields-essential/debian/debian/control.in
+++ b/t/tests/fields-section-general/debian/debian/control.in
@@ -1,27 +1,30 @@
Source: {$srcpkg}
Priority: extra
-Section: {$section}
+Section: contrib/{$section}
Maintainer: {$author}
Standards-Version: {$standards_version}
-XS-Essential: no
Build-Depends: debhelper (>= 7)
Package: {$srcpkg}
-Essential: yes
-Architecture: {$architecture}
+Architecture: all
+Section: contrib/dveel
Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
-Description: {$description}
+Description: {$description} (typo)
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
be an empty package.
+ .
+ This package has a typo in its section fields.
-Package: {$srcpkg}2
-Essential: maybe
-Architecture: {$architecture}
+Package: {$srcpkg}-main
+Architecture: all
+Section: {$section}
Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
-Description: {$description} -- maybe
- This is another test package designed to exercise some feature or tag of
+Description: {$description} (main)
+ 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
be an empty package.
+ .
+ This package can go to main.
diff --git a/t/tests/fields-section-general/desc b/t/tests/fields-section-general/desc
new file mode 100644
index 0000000..1cf5b65
--- /dev/null
+++ b/t/tests/fields-section-general/desc
@@ -0,0 +1,7 @@
+Testname: fields-section-general
+Sequence: 6000
+Version: 1.0
+Description: Test for general section/area issues
+Test-For:
+ section-area-mismatch
+ unknown-section
diff --git a/t/tests/fields-section-general/tags b/t/tests/fields-section-general/tags
new file mode 100644
index 0000000..36de5f8
--- /dev/null
+++ b/t/tests/fields-section-general/tags
@@ -0,0 +1,2 @@
+E: fields-section-general source: section-area-mismatch Package fields-section-general-main
+W: fields-section-general: unknown-section contrib/dveel
--
Debian package checker
Reply to: