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

[SCM] Debian package checker branch, master, updated. 2.5.10-77-g318e643



The following commit has been merged in the master branch:
commit 318e6439e704e8c7d39cef0f4185d043da0926a3
Author: Niels Thykier <niels@thykier.net>
Date:   Sun Jul 22 22:02:47 2012 +0200

    t: Add test for the last field tag
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/t/COVERAGE b/t/COVERAGE
index 7b18ed8..43decdb 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2012-07-22
-Coverage: 836/962 (86.90%), w. legacy tests: 934/962 (97.09%)
+Coverage: 837/962 (87.01%), w. legacy tests: 935/962 (97.19%)
 
 The following tags are not tested by the test suite:
 
@@ -17,8 +17,6 @@ debconf select-without-choices
 debconf unknown-field-in-templates
 debconf unknown-template-type
 
-fields malformed-python-version
-
 files debug-package-should-be-named-dbg
 files udeb-contains-documentation-file
 
diff --git a/t/tests/fields-no-homepage/debian/debian/control.in b/t/tests/fields-malformed-py-version/debian/debian/control.in
similarity index 87%
copy from t/tests/fields-no-homepage/debian/debian/control.in
copy to t/tests/fields-malformed-py-version/debian/debian/control.in
index b0f4d2d..766d13d 100644
--- a/t/tests/fields-no-homepage/debian/debian/control.in
+++ b/t/tests/fields-malformed-py-version/debian/debian/control.in
@@ -1,15 +1,17 @@
 Source: {$srcpkg}
 Priority: extra
-Section: {$section}
+Section: java
 Maintainer: {$author}
 Standards-Version: {$standards_version}
+XS-Python-Version: 2.5 2.6
 Build-Depends: debhelper (>= 9)
 
 Package: {$srcpkg}
-Architecture: {$architecture}
+Architecture: all
 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-depends-general/debian/debian/install b/t/tests/fields-malformed-py-version/debian/debian/install
similarity index 100%
copy from t/tests/fields-depends-general/debian/debian/install
copy to t/tests/fields-malformed-py-version/debian/debian/install
diff --git a/t/tests/fields-depends-general/debian/some-file b/t/tests/fields-malformed-py-version/debian/some-file
similarity index 100%
copy from t/tests/fields-depends-general/debian/some-file
copy to t/tests/fields-malformed-py-version/debian/some-file
diff --git a/t/tests/fields-malformed-py-version/desc b/t/tests/fields-malformed-py-version/desc
new file mode 100644
index 0000000..7a7b50d
--- /dev/null
+++ b/t/tests/fields-malformed-py-version/desc
@@ -0,0 +1,5 @@
+Testname: fields-malformed-py-version
+Sequence: 6000
+Version: 1.0
+Description: Test for malformed python-version field
+Test-For: malformed-python-version
diff --git a/t/tests/fields-malformed-py-version/tags b/t/tests/fields-malformed-py-version/tags
new file mode 100644
index 0000000..4ff63ac
--- /dev/null
+++ b/t/tests/fields-malformed-py-version/tags
@@ -0,0 +1 @@
+E: fields-malformed-py-version source: malformed-python-version 2.5 2.6

-- 
Debian package checker


Reply to: