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

[SCM] Debian package checker branch, master, updated. 2.4.3-91-gc9c651a



The following commit has been merged in the master branch:
commit c9c651aaabbd39c6c844417f5376cc4541d09a6f
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jan 1 19:48:35 2011 +0100

    Added test for malformed DMUA field.

diff --git a/t/COVERAGE b/t/COVERAGE
index a3eae59..79996b0 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -233,7 +233,6 @@ debhelper uses-dh-python-with-no-pycompat
 fields build-depends-indep-without-arch-indep
 fields dbg-package-missing-depends
 fields debug-package-should-be-priority-extra
-fields malformed-dm-upload-allowed
 fields redundant-bugs-field
 fields redundant-origin-field
 fields versioned-dependency-satisfied-by-perl
@@ -512,7 +511,6 @@ filenames
 foo++
   debian-changelog-file-uses-obsolete-national-encoding
   debian-control-file-uses-obsolete-national-encoding
-  malformed-dm-upload-allowed
   wrong-debian-qa-address-set-as-maintainer
 
 libbaz
diff --git a/t/tests/debhelper-dh-clean-k-deprecated/debian/debian/control.in b/t/tests/fields-dmua/debian/debian/control.in
similarity index 95%
copy from t/tests/debhelper-dh-clean-k-deprecated/debian/debian/control.in
copy to t/tests/fields-dmua/debian/debian/control.in
index d63c764..4d1515c 100644
--- a/t/tests/debhelper-dh-clean-k-deprecated/debian/debian/control.in
+++ b/t/tests/fields-dmua/debian/debian/control.in
@@ -4,6 +4,7 @@ Section: {$section}
 Maintainer: {$author}
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
+DM-Upload-Allowed: no
 
 Package: {$srcpkg}
 Architecture: {$architecture}
diff --git a/t/tests/fields-dmua/desc b/t/tests/fields-dmua/desc
new file mode 100644
index 0000000..5855104
--- /dev/null
+++ b/t/tests/fields-dmua/desc
@@ -0,0 +1,6 @@
+Testname: fields-dmua
+Sequence: 6000
+Version: 1.0
+Description: Test for invalid DMUA field
+Test-For: 
+ malformed-dm-upload-allowed
diff --git a/t/tests/fields-dmua/tags b/t/tests/fields-dmua/tags
new file mode 100644
index 0000000..88ed5fb
--- /dev/null
+++ b/t/tests/fields-dmua/tags
@@ -0,0 +1 @@
+E: fields-dmua source: malformed-dm-upload-allowed no

-- 
Debian package checker


Reply to: