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

[SCM] Debian package checker branch, master, updated. 2.4.3-59-gd473507



The following commit has been merged in the master branch:
commit d4735078bc0c87b7d48aa31f3c96268bd84ba33d
Author: Niels Thykier <niels@thykier.net>
Date:   Mon Dec 27 12:17:37 2010 +0100

    Added similar tests for maintainers. Removed redundant file from
    uploaders test.

diff --git a/t/COVERAGE b/t/COVERAGE
index a664d90..a8284e6 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -58,9 +58,6 @@ fields bad-version-in-relation
 fields bad-version-number
 fields depends-on-libdb1-compat
 fields doc-package-depends-on-main-package
-fields maintainer-address-is-on-localhost
-fields maintainer-address-looks-weird
-fields maintainer-address-malformed
 fields malformed-python-version
 fields multiline-field
 fields no-architecture-field
diff --git a/t/tests/debhelper-override-depends/debian/debian/control.in b/t/tests/fields-maintainer/debian/debian/control.in
similarity index 85%
copy from t/tests/debhelper-override-depends/debian/debian/control.in
copy to t/tests/fields-maintainer/debian/debian/control.in
index 6a076f1..4ef1a57 100644
--- a/t/tests/debhelper-override-depends/debian/debian/control.in
+++ b/t/tests/fields-maintainer/debian/debian/control.in
@@ -1,7 +1,8 @@
 Source: {$srcpkg}
 Priority: extra
-Section: {$section}
-Maintainer: {$author}
+Section: devel
+Maintainer: Mrs. Localhost<user@localhost>
+Uploaders: {$author}
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
 
@@ -13,3 +14,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-maintainer/desc b/t/tests/fields-maintainer/desc
new file mode 100644
index 0000000..cd01f51
--- /dev/null
+++ b/t/tests/fields-maintainer/desc
@@ -0,0 +1,8 @@
+Testname: fields-maintainer
+Sequence: 6000
+Version: 1.0
+Description: General tests of the maintainer field
+Test-For:
+ maintainer-address-is-on-localhost
+ maintainer-address-looks-weird
+ maintainer-address-malformed
diff --git a/t/tests/fields-maintainer/tags b/t/tests/fields-maintainer/tags
new file mode 100644
index 0000000..24328a4
--- /dev/null
+++ b/t/tests/fields-maintainer/tags
@@ -0,0 +1,6 @@
+E: fields-maintainer source: maintainer-address-is-on-localhost Mrs. Localhost<user@localhost>
+E: fields-maintainer source: maintainer-address-malformed Mrs. Localhost<user@localhost>
+E: fields-maintainer: maintainer-address-is-on-localhost Mrs. Localhost<user@localhost>
+E: fields-maintainer: maintainer-address-malformed Mrs. Localhost<user@localhost>
+W: fields-maintainer source: maintainer-address-looks-weird Mrs. Localhost<user@localhost>
+W: fields-maintainer: maintainer-address-looks-weird Mrs. Localhost<user@localhost>
diff --git a/t/tests/fields-uploaders/debian/some-file b/t/tests/fields-uploaders/debian/some-file
deleted file mode 100644
index 7bf08f7..0000000
--- a/t/tests/fields-uploaders/debian/some-file
+++ /dev/null
@@ -1,2 +0,0 @@
-This file is installed into /usr/share/lintian just to ensure that this
-package doesn't look like a metapackage for the dependency checks.

-- 
Debian package checker


Reply to: