summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/COVERAGE4
-rw-r--r--t/tests/changelog-file-upstream-html-only/debian/debian/rules11
-rw-r--r--t/tests/changelog-file-upstream-html-only/desc6
-rw-r--r--t/tests/changelog-file-upstream-html-only/tags1
-rw-r--r--t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html8
5 files changed, 27 insertions, 3 deletions
diff --git a/t/COVERAGE b/t/COVERAGE
index cc5d254..303ee74 100644
--- a/t/COVERAGE
+++ b/t/COVERAGE
@@ -1,5 +1,5 @@
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:
@@ -9,8 +9,6 @@ binaries library-not-linked-against-libc
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
new file mode 100644
index 0000000..12f2c85
--- /dev/null
+++ b/t/tests/changelog-file-upstream-html-only/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.html $(DOC)/changelog.html
diff --git a/t/tests/changelog-file-upstream-html-only/desc b/t/tests/changelog-file-upstream-html-only/desc
new file mode 100644
index 0000000..efaec24
--- /dev/null
+++ b/t/tests/changelog-file-upstream-html-only/desc
@@ -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
new file mode 100644
index 0000000..0407e01
--- /dev/null
+++ b/t/tests/changelog-file-upstream-html-only/tags
@@ -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
new file mode 100644
index 0000000..2a4614a
--- /dev/null
+++ b/t/tests/changelog-file-upstream-html-only/upstream/some-changelog.html
@@ -0,0 +1,8 @@
+<html>
+ <head>
+ <titl>Hallo World</title>
+</head>
+<body>
+ <p>A wonderful changelog written in HTML</p>
+</body>
+</html>