The following commit has been merged in the master branch:
commit 6bfaf40982e538e83678d8cc452e8535da3958ce
Author: Russ Allbery <[email protected]>
Date:   Sun Jul 5 01:15:50 2009 -0700

    Add a test for empty debian/compat files
    
    This completes test coverage of the debhelper check.

diff --git a/t/COVERAGE b/t/COVERAGE
index 3991240..c7a50e5 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -45,8 +45,6 @@ debconf select-without-choices
 debconf unknown-field-in-templates
 debconf unknown-template-type
 
-debhelper debhelper-compat-file-is-empty
-
 debian-readme spelling-error-in-readme-debian
 
 fields alternates-not-allowed
diff --git a/testset/dh7-test/debian/foo.desktop 
b/t/tests/debhelper-compat-empty/debian/debian/compat
similarity index 100%
copy from testset/dh7-test/debian/foo.desktop
copy to t/tests/debhelper-compat-empty/debian/debian/compat
diff --git a/t/tests/debhelper-compat-empty/desc 
b/t/tests/debhelper-compat-empty/desc
new file mode 100644
index 0000000..39a2037
--- /dev/null
+++ b/t/tests/debhelper-compat-empty/desc
@@ -0,0 +1,7 @@
+Testname: debhelper-compat-empty
+Sequence: 6000
+Version: 1.0
+Description: Test empty debian/compat file
+Test-For:
+ debhelper-compat-file-is-empty
+ package-uses-deprecated-debhelper-compat-version
diff --git a/t/tests/debhelper-compat-empty/tags 
b/t/tests/debhelper-compat-empty/tags
new file mode 100644
index 0000000..fda722d
--- /dev/null
+++ b/t/tests/debhelper-compat-empty/tags
@@ -0,0 +1,2 @@
+E: debhelper-compat-empty source: debhelper-compat-file-is-empty
+W: debhelper-compat-empty source: 
package-uses-deprecated-debhelper-compat-version 1

-- 
Debian package checker


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to