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

[SCM] Debian package checker branch, master, updated. 2.2.9-49-gd848434



The following commit has been merged in the master branch:
commit defa35da18073b742bb26079f86be5fac4e5d966
Author: Raphael Geissert <atomo64@gmail.com>
Date:   Sun Apr 12 17:29:38 2009 -0500

    Test several Essential field-related checks

diff --git a/t/tests/files-fonts/debian/debian/control.in b/t/tests/fields-essential/debian/debian/control.in
similarity index 66%
copy from t/tests/files-fonts/debian/debian/control.in
copy to t/tests/fields-essential/debian/debian/control.in
index 15cef41..11f1cd0 100644
--- a/t/tests/files-fonts/debian/debian/control.in
+++ b/t/tests/fields-essential/debian/debian/control.in
@@ -3,25 +3,23 @@ Priority: extra
 Section: {$section}
 Maintainer: {$author}
 Standards-Version: {$standards_version}
+XS-Essential: no
 Build-Depends: debhelper (>= 7)
-Homepage: http://lintian.debian.org/
 
 Package: {$srcpkg}
+Essential: yes
 Architecture: {$architecture}
-Depends: $\{misc:Depends\}
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
 Description: {$description}
- Non-font package containing fonts.
- .
  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.
 
-Package: ttf-{$srcpkg}
+Package: {$srcpkg}2
+Essential: maybe
 Architecture: {$architecture}
-Depends: $\{misc:Depends\}
-Description: {$description} (okay)
- Font package containing fonts.
- .
- This is a test package designed to exercise some feature or tag of
+Depends: $\{shlibs:Depends\}, $\{misc:Depends\}
+Description: {$description} -- maybe
+ This is another 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.
diff --git a/t/tests/fields-essential/debian/debian/rules b/t/tests/fields-essential/debian/debian/rules
new file mode 100755
index 0000000..4f47599
--- /dev/null
+++ b/t/tests/fields-essential/debian/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+pkg=fields-essential
+export DH_VERBOSE=1
+%:
+	dh $@
+binary:
+	dh --before dh_builddeb binary
+	dh_builddeb --package=$(pkg)
+	dpkg-deb --nocheck --build debian/$(pkg)2 ../$(pkg)2_1.0_all.deb
+	dh --after dh_builddeb binary
diff --git a/t/tests/fields-essential/desc b/t/tests/fields-essential/desc
new file mode 100644
index 0000000..c0b6c4b
--- /dev/null
+++ b/t/tests/fields-essential/desc
@@ -0,0 +1,9 @@
+Testname: fields-essential
+Sequence: 6000
+Version: 1.0
+Description: Test for Essential field-related errors
+Test-For:
+ essential-in-source-package
+ essential-no-not-needed
+ new-essential-package
+ unknown-essential-value
diff --git a/t/tests/fields-essential/tags b/t/tests/fields-essential/tags
new file mode 100644
index 0000000..b8d0cc0
--- /dev/null
+++ b/t/tests/fields-essential/tags
@@ -0,0 +1,5 @@
+E: fields-essential source: essential-in-source-package
+E: fields-essential2: unknown-essential-value
+E: fields-essential: new-essential-package
+W: fields-essential source: essential-no-not-needed
+W: fields-essential source: unknown-field-in-dsc essential

-- 
Debian package checker


Reply to: