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

[SCM] Debian package checker branch, master, updated. 2.5.3-64-g2b0573d



The following commit has been merged in the master branch:
commit 2b0573d327592b298cb215db4ae6b150950eeb47
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Oct 13 17:18:50 2011 +0200

    Added another test
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/t/COVERAGE b/t/COVERAGE
index ec8d837..cc5d254 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
 Last generated 2011-10-13
-Coverage: 749/938 (79.85%), w. legacy tests: 858/938 (91.47%)
+Coverage: 750/938 (79.96%), w. legacy tests: 859/938 (91.58%)
 
 The following tags are not tested by the test suite:
 
@@ -10,7 +10,6 @@ binaries ocaml-custom-executable
 binaries program-not-linked-against-libc
 
 changelog-file html-changelog-without-text-version
-changelog-file wrong-name-for-upstream-changelog
 
 cruft source-contains-prebuilt-windows-binary
 
diff --git a/t/tests/changelog-file-wrong-name-upstream/debian/debian/rules b/t/tests/changelog-file-wrong-name-upstream/debian/debian/rules
new file mode 100644
index 0000000..45fbec8
--- /dev/null
+++ b/t/tests/changelog-file-wrong-name-upstream/debian/debian/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+
+PKG:=$(shell dh_listpackages)
+DOC:=debian/$(PKG)/usr/share/doc/$(PKG)
+
+%:
+	dh $@
+
+override_dh_installchangelogs:
+	dh_installchangelogs
+	cp some-changelog $(DOC)/Changes
diff --git a/t/tests/changelog-file-wrong-name-upstream/desc b/t/tests/changelog-file-wrong-name-upstream/desc
new file mode 100644
index 0000000..beb834c
--- /dev/null
+++ b/t/tests/changelog-file-wrong-name-upstream/desc
@@ -0,0 +1,6 @@
+Testname: changelog-file-wrong-name-upstream
+Sequence: 6000
+Type: non-native
+Version: 1.0-1
+Description: Check a wrong name for an upstream changelog
+Test-For: wrong-name-for-upstream-changelog
diff --git a/t/tests/changelog-file-wrong-name-upstream/tags b/t/tests/changelog-file-wrong-name-upstream/tags
new file mode 100644
index 0000000..af748f1
--- /dev/null
+++ b/t/tests/changelog-file-wrong-name-upstream/tags
@@ -0,0 +1 @@
+W: changelog-file-wrong-name-upstream: wrong-name-for-upstream-changelog usr/share/doc/changelog-file-wrong-name-upstream/Changes
diff --git a/t/changes/changes-file-bad-section.log b/t/tests/changelog-file-wrong-name-upstream/upstream/some-changelog
similarity index 100%
copy from t/changes/changes-file-bad-section.log
copy to t/tests/changelog-file-wrong-name-upstream/upstream/some-changelog

-- 
Debian package checker


Reply to: