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

[SCM] Debian package checker branch, master, updated. 2.5.2-33-g3d73754



The following commit has been merged in the master branch:
commit 3d73754120ed27aa5b91fd1e4bc6a959a773b1e8
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Aug 17 22:48:10 2011 +0200

    Added test for uncompressed changelogs and NEWS files

diff --git a/t/COVERAGE b/t/COVERAGE
index 767e12d..6b8eb33 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-08-17
-Coverage: 693/915 (75.74%), w. legacy tests: 818/915 (89.40%)
+Coverage: 695/915 (75.96%), w. legacy tests: 818/915 (89.40%)
 
 The following tags are not tested by the test suite:
 
@@ -124,10 +124,8 @@ binaries statically-linked-binary
 binaries unstripped-binary-or-object
 
 changelog-file changelog-file-missing-in-native-package
-changelog-file changelog-file-not-compressed
 changelog-file debian-changelog-file-contains-invalid-email-address
 changelog-file debian-changelog-file-missing-or-wrong-name
-changelog-file debian-news-file-not-compressed
 changelog-file wrong-name-for-debian-news-file
 
 copyright-file old-fsf-address-in-copyright-file
@@ -257,7 +255,6 @@ Breakdown of remaining tags in legacy test suite by test case:
 
 binary
   binary-has-unneeded-section
-  changelog-file-not-compressed
   debian-changelog-file-missing-or-wrong-name
   deprecated-kdelnk-file
   desktop-contains-deprecated-header
@@ -341,7 +338,6 @@ fields
 
 filenames
   bad-menu-file-name
-  debian-news-file-not-compressed
   desktop-file-in-wrong-dir
   macos-ds-store-file-in-package
   macos-resource-fork-file-in-package
diff --git a/t/tests/changelog-file-news-and-changelog-not-compressed/debian/debian/NEWS b/t/tests/changelog-file-news-and-changelog-not-compressed/debian/debian/NEWS
new file mode 100644
index 0000000..a20f4a3
--- /dev/null
+++ b/t/tests/changelog-file-news-and-changelog-not-compressed/debian/debian/NEWS
@@ -0,0 +1,7 @@
+changelog-file-news-and-changelog-not-compressed (1.0) unstable; urgency=low
+
+  Something increditable important... or maybe this is just a
+  lintian test for an uncompressed NEWS file.
+
+ -- Niels Thykier <niels@thykier.net>  Wed, 10 Aug 2011 21:09:24 +0200
+  
\ No newline at end of file
diff --git a/t/tests/changelog-file-news-and-changelog-not-compressed/debian/debian/rules b/t/tests/changelog-file-news-and-changelog-not-compressed/debian/debian/rules
new file mode 100755
index 0000000..f957b51
--- /dev/null
+++ b/t/tests/changelog-file-news-and-changelog-not-compressed/debian/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+pkg = $(shell dh_listpackages)
+
+%:
+	dh $@
+
+override_dh_installchangelogs:
+	install -c -m 644 debian/changelog \
+	    debian/$(pkg)/usr/share/doc/$(pkg)/changelog
+	install -c -m 644 debian/NEWS \
+	    debian/$(pkg)/usr/share/doc/$(pkg)/NEWS.Debian
+
+override_dh_compress:
+
diff --git a/t/tests/changelog-file-news-and-changelog-not-compressed/desc b/t/tests/changelog-file-news-and-changelog-not-compressed/desc
new file mode 100644
index 0000000..0f169b2
--- /dev/null
+++ b/t/tests/changelog-file-news-and-changelog-not-compressed/desc
@@ -0,0 +1,7 @@
+Testname: changelog-file-news-and-changelog-not-compressed
+Sequence: 6000
+Version: 1.0
+Description: General tests for changelog-file tags
+Test-For:
+ changelog-file-not-compressed
+ debian-news-file-not-compressed
diff --git a/t/tests/changelog-file-news-and-changelog-not-compressed/tags b/t/tests/changelog-file-news-and-changelog-not-compressed/tags
new file mode 100644
index 0000000..a950268
--- /dev/null
+++ b/t/tests/changelog-file-news-and-changelog-not-compressed/tags
@@ -0,0 +1,2 @@
+E: changelog-file-news-and-changelog-not-compressed: changelog-file-not-compressed changelog
+W: changelog-file-news-and-changelog-not-compressed: debian-news-file-not-compressed usr/share/doc/changelog-file-news-and-changelog-not-compressed/NEWS.Debian

-- 
Debian package checker


Reply to: