| author | Niels Thykier <niels@thykier.net> | |
| Thu, 13 Oct 2011 18:30:28 +0000 (20:30 +0200) | ||
| committer | Niels Thykier <niels@thykier.net> | |
| Thu, 13 Oct 2011 18:30:28 +0000 (20:30 +0200) |
Signed-off-by: Niels Thykier <niels@thykier.net>
| t/COVERAGE | patch | blob | history | |
| t/tests/changelog-file-upstream-html-only/debian/debian/rules | [new file with mode: 0644] | patch | blob |
| t/tests/changelog-file-upstream-html-only/desc | [new file with mode: 0644] | patch | blob |
| t/tests/changelog-file-upstream-html-only/tags | [new file with mode: 0644] | patch | blob |
| t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html | [new file with mode: 0644] | patch | blob |
diff --git a/t/COVERAGE b/t/COVERAGE
--- a/t/COVERAGE
+++ b/t/COVERAGE
Last generated 2011-10-13
-Coverage: 750/938 (79.96%), w. legacy tests: 859/938 (91.58%)
+Coverage: 753/940 (80.11%), w. legacy tests: 862/940 (91.70%)
The following tags are not tested by the test suite:
binaries ocaml-custom-executable
binaries program-not-linked-against-libc
-changelog-file html-changelog-without-text-version
-
cruft source-contains-prebuilt-windows-binary
deb-format tar-errors-from-data
diff --git a/t/tests/changelog-file-upstream-html-only/debian/debian/rules b/t/tests/changelog-file-upstream-html-only/debian/debian/rules
--- /dev/null
@@ -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.html $(DOC)/changelog.html
diff --git a/t/tests/changelog-file-upstream-html-only/desc b/t/tests/changelog-file-upstream-html-only/desc
--- /dev/null
@@ -0,0 +1,6 @@
+Testname: changelog-file-upstream-html-only
+Sequence: 6000
+Type: non-native
+Version: 1.0-1
+Description: Check HTML-only upstream changelog
+Test-For: html-changelog-without-text-version
diff --git a/t/tests/changelog-file-upstream-html-only/tags b/t/tests/changelog-file-upstream-html-only/tags
--- /dev/null
@@ -0,0 +1 @@
+E: changelog-file-upstream-html-only: html-changelog-without-text-version
diff --git a/t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html b/t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html
--- /dev/null
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <titl>Hallo World</title>
+</head>
+<body>
+ <p>A wonderful changelog written in HTML</p>
+</body>
+</html>
