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

[SCM] Debian package checker branch, master, updated. 2.5.1-103-ge70cd97



The following commit has been merged in the master branch:
commit 32fc38f065752d90e4a853bbbcf82d3acf864d74
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 16 10:56:30 2011 +0200

    Added test for some tags related to debug packages

diff --git a/t/COVERAGE b/t/COVERAGE
index d08ef0d..f66fb23 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,4 +1,4 @@
-Last generated 2011-07-15
+Last generated 2011-07-16
 
 The following tags are not tested by the test suite:
 
@@ -193,8 +193,6 @@ debconf using-imperative-form-in-templates
 debconf using-question-in-extended-description-in-templates
 
 fields build-depends-indep-without-arch-indep
-fields dbg-package-missing-depends
-fields debug-package-should-be-priority-extra
 fields wrong-debian-qa-address-set-as-maintainer
 fields wrong-debian-qa-group-name
 
@@ -389,7 +387,6 @@ debug
   build-depends-indep-without-arch-indep
   changelog-file-missing-in-native-package
   changelog-should-not-mention-nmu
-  dbg-package-missing-depends
   debug-file-should-use-detached-symbols
   duplicate-entry-in-symbols-control-file
   invalid-template-id-in-symbols-file
@@ -442,7 +439,6 @@ foo++
 
 libbaz
   control-file-has-bad-permissions
-  debug-package-should-be-priority-extra
   ldconfig-symlink-missing-for-shlib
   missing-dependency-on-perlapi
   package-name-doesnt-match-sonames
diff --git a/t/tests/files-flash-non-free/debian/debian/control.in b/t/tests/fields-debug-bad/debian/debian/control.in
similarity index 81%
copy from t/tests/files-flash-non-free/debian/debian/control.in
copy to t/tests/fields-debug-bad/debian/debian/control.in
index b531357..7902aeb 100644
--- a/t/tests/files-flash-non-free/debian/debian/control.in
+++ b/t/tests/fields-debug-bad/debian/debian/control.in
@@ -1,10 +1,9 @@
 Source: {$srcpkg}
-Priority: extra
+Priority: optional
 Section: {$section}
 Maintainer: {$author}
 Standards-Version: {$standards_version}
 Build-Depends: debhelper (>= 7)
-Homepage: http://lintian.debian.org/
 
 Package: {$srcpkg}
 Architecture: {$architecture}
@@ -15,14 +14,15 @@ Description: {$description}
  things.  It should not be installed like a regular package.  It may
  be an empty package.
 
-Package: {$srcpkg}-non-free
-Section: non-free/{$section}
+Package: {$srcpkg}-dbg
+Section: debug
 Architecture: {$architecture}
 Depends: $\{misc:Depends\}
-Description: {$description} (okay)
- non-free in non-free, nice.
- .
+Description: {$description} (dbg)
  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.
+ .
+ The debug package.
+
diff --git a/t/tests/fields-debug-bad/desc b/t/tests/fields-debug-bad/desc
new file mode 100644
index 0000000..811dfb3
--- /dev/null
+++ b/t/tests/fields-debug-bad/desc
@@ -0,0 +1,7 @@
+Testname: fields-debug-bad
+Sequence: 6000
+Version: 1.0
+Description: Test for tags related to debug pkgs
+Test-For:
+ dbg-package-missing-depends
+ debug-package-should-be-priority-extra
diff --git a/t/tests/fields-debug-bad/tags b/t/tests/fields-debug-bad/tags
new file mode 100644
index 0000000..38d1bcd
--- /dev/null
+++ b/t/tests/fields-debug-bad/tags
@@ -0,0 +1,2 @@
+W: fields-debug-bad source: dbg-package-missing-depends fields-debug-bad-dbg
+W: fields-debug-bad-dbg: debug-package-should-be-priority-extra fields-debug-bad-dbg

-- 
Debian package checker


Reply to: