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

[SCM] Debian package checker branch, master, updated. 2.4.3-73-gd84aa6b



The following commit has been merged in the master branch:
commit d84aa6b4c247fa1bd1b20dec3b6fc03954e7489c
Author: Niels Thykier <niels@thykier.net>
Date:   Tue Dec 28 23:45:46 2010 +0100

    Added a test for missing md5sums control files.

diff --git a/t/COVERAGE b/t/COVERAGE
index ed5c9c1..2291423 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -307,8 +307,6 @@ init.d postrm-does-not-call-updaterc.d-for-init.d-script
 init.d preinst-calls-updaterc.d
 init.d prerm-calls-updaterc.d
 
-md5sums no-md5sums-control-file
-
 menu-format deprecated-kdelnk-file
 menu-format desktop-contains-deprecated-header
 menu-format desktop-entry-missing-required-key
@@ -433,7 +431,6 @@ binary
   menu-item-uses-apps-section
   menu-item-uses-windowmanagers-section
   menu-method-should-include-menu-h
-  no-md5sums-control-file
   non-wm-in-windowmanager-menu-section
   non-wm-module-in-wm-modules-menu-section
   old-fsf-address-in-copyright-file
diff --git a/t/tests/md5sums-missing/debian/debian/rules b/t/tests/md5sums-missing/debian/debian/rules
new file mode 100644
index 0000000..9d8ce3a
--- /dev/null
+++ b/t/tests/md5sums-missing/debian/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+FIND ?= find
+
+%:
+	dh $@
+
+override_dh_builddeb:
+	$(FIND) debian/ -name 'md5sums' -delete
+	dh_builddeb
diff --git a/t/tests/md5sums-missing/desc b/t/tests/md5sums-missing/desc
new file mode 100644
index 0000000..41ae417
--- /dev/null
+++ b/t/tests/md5sums-missing/desc
@@ -0,0 +1,6 @@
+Testname: md5sums-missing
+Sequence: 6000
+Version: 1.0
+Description: Test of missing md5sums file
+Test-For:
+ no-md5sums-control-file
diff --git a/t/tests/md5sums-missing/tags b/t/tests/md5sums-missing/tags
new file mode 100644
index 0000000..7388c6f
--- /dev/null
+++ b/t/tests/md5sums-missing/tags
@@ -0,0 +1 @@
+I: md5sums-missing: no-md5sums-control-file

-- 
Debian package checker


Reply to: