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

[SCM] Debian package checker branch, master, updated. 2.5.1-109-gff93ce9



The following commit has been merged in the master branch:
commit ff93ce9c83d264f53ec7821e7676fc6399237efb
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 16 15:08:44 2011 +0200

    Provided test for udeb section

diff --git a/t/COVERAGE b/t/COVERAGE
index 470b1e0..da9d4f0 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -50,7 +50,6 @@ fields package-not-lowercase
 fields package-superseded-by-perl
 fields source-field-does-not-match-pkg-name
 fields unknown-field-in-dsc
-fields wrong-section-for-udeb
 
 files FSSTND-dir-in-var
 files backup-file-in-package
diff --git a/t/tests/fields-qa-maint-name/debian/debian/control.in b/t/tests/fields-section-udeb/debian/debian/control.in
similarity index 90%
copy from t/tests/fields-qa-maint-name/debian/debian/control.in
copy to t/tests/fields-section-udeb/debian/debian/control.in
index 1f12d5a..928116b 100644
--- a/t/tests/fields-qa-maint-name/debian/debian/control.in
+++ b/t/tests/fields-section-udeb/debian/debian/control.in
@@ -1,15 +1,17 @@
 Source: {$srcpkg}
 Priority: extra
 Section: devel
-Maintainer: Debian QA <packages@qa.debian.org>
+Maintainer: {$author}
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7.0.50~)
 
 Package: {$srcpkg}
 Architecture: all
+Package-Type: udeb
 Depends: $\{misc:Depends\},
 Description: {$description}
  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.
+
diff --git a/t/tests/fields-section-udeb/desc b/t/tests/fields-section-udeb/desc
new file mode 100644
index 0000000..32d7ca4
--- /dev/null
+++ b/t/tests/fields-section-udeb/desc
@@ -0,0 +1,5 @@
+Testname: fields-section-udeb
+Sequence: 6000
+Version: 1.0
+Description: Test for udeb in the wrong section
+Test-For: wrong-section-for-udeb
diff --git a/t/tests/fields-section-udeb/tags b/t/tests/fields-section-udeb/tags
new file mode 100644
index 0000000..0eac808
--- /dev/null
+++ b/t/tests/fields-section-udeb/tags
@@ -0,0 +1 @@
+W: fields-section-udeb udeb: wrong-section-for-udeb devel

-- 
Debian package checker


Reply to: