[SCM] Debian package checker branch, master, updated. 2.5.1-54-g72b74d6
The following commit has been merged in the master branch:
commit 72b74d64bf782f5058c6cb26276c20c9d354a63b
Author: Niels Thykier <niels@thykier.net>
Date: Sat Jul 9 00:18:40 2011 +0200
Added test for missing arch and maint fields
diff --git a/t/COVERAGE b/t/COVERAGE
index 6f161e6..6d19088 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -44,8 +44,6 @@ fields depends-on-libdb1-compat
fields doc-package-depends-on-main-package
fields malformed-python-version
fields multiline-field
-fields no-architecture-field
-fields no-maintainer-field
fields no-package-name
fields no-source-field
fields no-version-field
diff --git a/t/debs/fields-malformed-source/Makefile b/t/debs/fields-general-missing/Makefile
similarity index 93%
copy from t/debs/fields-malformed-source/Makefile
copy to t/debs/fields-general-missing/Makefile
index dd9605a..1cbbd0e 100644
--- a/t/debs/fields-malformed-source/Makefile
+++ b/t/debs/fields-general-missing/Makefile
@@ -1,4 +1,4 @@
-name = fields-malformed-source
+name = fields-general-missing
all:
echo '2.0' > debian-binary
diff --git a/t/debs/deb-format-lzma/changelog b/t/debs/fields-general-missing/changelog
similarity index 69%
copy from t/debs/deb-format-lzma/changelog
copy to t/debs/fields-general-missing/changelog
index 2fbdc04..52d2eaa 100644
--- a/t/debs/deb-format-lzma/changelog
+++ b/t/debs/fields-general-missing/changelog
@@ -1,4 +1,4 @@
-deb-format-lzma (1.0) unstable; urgency=low
+fields-general-missing (1.0) unstable; urgency=low
* A Lintian test case.
diff --git a/t/debs/fields-malformed-source/control b/t/debs/fields-general-missing/control
similarity index 70%
copy from t/debs/fields-malformed-source/control
copy to t/debs/fields-general-missing/control
index d44ed29..64bfdcd 100644
--- a/t/debs/fields-malformed-source/control
+++ b/t/debs/fields-general-missing/control
@@ -1,10 +1,8 @@
-Package: fields-malformed-source
-Source: Malformed
+Package: fields-general-missing
Version: 1.0
-Architecture: all
-Maintainer: Debian Lintian Maintainers <lintian-maint@debian.org>
Section: devel
Priority: extra
+Depends: some-pkg
Description: test for bad source package name
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
diff --git a/t/debs/control-field-traversal-4/copyright b/t/debs/fields-general-missing/copyright
similarity index 100%
copy from t/debs/control-field-traversal-4/copyright
copy to t/debs/fields-general-missing/copyright
diff --git a/t/debs/fields-general-missing/tags b/t/debs/fields-general-missing/tags
new file mode 100644
index 0000000..8794a66
--- /dev/null
+++ b/t/debs/fields-general-missing/tags
@@ -0,0 +1,2 @@
+E: fields-general-missing: no-architecture-field
+E: fields-general-missing: no-maintainer-field
--
Debian package checker
Reply to: