The following commit has been merged in the master branch:
commit 57d3a7daf985950dbf31d8d91d9065c4094a1291
Author: Niels Thykier <[email protected]>
Date: Mon Dec 27 11:59:17 2010 +0100
Added test for uploader related issues.
diff --git a/t/COVERAGE b/t/COVERAGE
index db9a3c0..a664d90 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -264,11 +264,6 @@ fields package-depends-on-multiple-tkx-versions
fields redundant-bugs-field
fields redundant-origin-field
fields unknown-section
-fields uploader-address-is-on-localhost
-fields uploader-address-looks-weird
-fields uploader-address-malformed
-fields uploader-address-missing
-fields uploader-not-full-name
fields versioned-dependency-satisfied-by-perl
fields wrong-debian-qa-address-set-as-maintainer
fields wrong-debian-qa-group-name
@@ -569,11 +564,6 @@ foo++
debian-changelog-file-uses-obsolete-national-encoding
debian-control-file-uses-obsolete-national-encoding
malformed-dm-upload-allowed
- uploader-address-is-on-localhost
- uploader-address-looks-weird
- uploader-address-malformed
- uploader-address-missing
- uploader-not-full-name
wrong-debian-qa-address-set-as-maintainer
libbaz
diff --git a/t/tests/debhelper-override-depends/debian/debian/control.in
b/t/tests/fields-uploaders/debian/debian/control.in
similarity index 67%
copy from t/tests/debhelper-override-depends/debian/debian/control.in
copy to t/tests/fields-uploaders/debian/debian/control.in
index 6a076f1..81e6733 100644
--- a/t/tests/debhelper-override-depends/debian/debian/control.in
+++ b/t/tests/fields-uploaders/debian/debian/control.in
@@ -1,7 +1,12 @@
Source: {$srcpkg}
Priority: extra
-Section: {$section}
+Section: devel
Maintainer: {$author}
+Uploaders: Mrs. Localhost <u...@localhost>,
+ Mr. Weird<[email protected]>,
+ One-name <[email protected]>,
+ Malformed Email <@[email protected]>,
+ I have no email
Standards-Version: {$standards_version}
Build-Depends: debhelper (>= 7)
@@ -13,3 +18,4 @@ Description: {$description}
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.
+
diff --git a/t/tests/fields-depends-general/debian/some-file
b/t/tests/fields-uploaders/debian/some-file
similarity index 100%
copy from t/tests/fields-depends-general/debian/some-file
copy to t/tests/fields-uploaders/debian/some-file
diff --git a/t/tests/fields-uploaders/desc b/t/tests/fields-uploaders/desc
new file mode 100644
index 0000000..7cbcbb8
--- /dev/null
+++ b/t/tests/fields-uploaders/desc
@@ -0,0 +1,10 @@
+Testname: fields-uploaders
+Sequence: 6000
+Version: 1.0
+Description: General tests of the uploaders field
+Test-For:
+ uploader-address-is-on-localhost
+ uploader-address-looks-weird
+ uploader-address-malformed
+ uploader-address-missing
+ uploader-not-full-name
diff --git a/t/tests/fields-uploaders/tags b/t/tests/fields-uploaders/tags
new file mode 100644
index 0000000..02f56ca
--- /dev/null
+++ b/t/tests/fields-uploaders/tags
@@ -0,0 +1,6 @@
+E: fields-uploaders source: uploader-address-is-on-localhost Mrs. Localhost
<u...@localhost>
+E: fields-uploaders source: uploader-address-malformed Malformed Email
<@[email protected]>
+E: fields-uploaders source: uploader-address-malformed Mrs. Localhost
<u...@localhost>
+E: fields-uploaders source: uploader-address-missing I have no email
+W: fields-uploaders source: uploader-address-looks-weird Mr.
Weird<[email protected]>
+W: fields-uploaders source: uploader-not-full-name One-name
--
Debian package checker
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]