This is an automated email from the git hooks/post-receive script. treinen pushed a commit to branch master in repository hlins.
commit 76b358ad4ddf9d11a50ff906989b3b893fad76cb Author: Ralf Treinen <trei...@free.fr> Date: Fri Dec 16 08:52:26 2016 +0100 +package test --- debian/changelog | 3 ++- debian/tests/control | 1 + debian/tests/expected-output | 47 ++++++++++++++++++++++++++++++++++++++++++++ debian/tests/upstream | 9 +++++++++ 4 files changed, 59 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 67faf63..993a51b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,8 +7,9 @@ hlins (0.39-22) unstable; urgency=medium * Vcs-{Git,Browser}: use secure URI * patch manpage: fix various spelling mistakes in the manpage * add Homepage + * add as-installed package test - -- Ralf Treinen <trei...@debian.org> Thu, 15 Dec 2016 08:19:34 +0100 + -- Ralf Treinen <trei...@debian.org> Fri, 16 Dec 2016 08:51:42 +0100 hlins (0.39-21) unstable; urgency=medium diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..f08221c --- /dev/null +++ b/debian/tests/control @@ -0,0 +1 @@ +Tests: upstream diff --git a/debian/tests/expected-output b/debian/tests/expected-output new file mode 100644 index 0000000..b1ac58c --- /dev/null +++ b/debian/tests/expected-output @@ -0,0 +1,47 @@ +<html> +<head><title>Martin Scorsese</title></HEAD> + +<body> + +<h1>Test to use with the directors database</h1> + +<h2>Testing protected contexts.</h2> + +<h3>Title</h3> +There should be no link for <a href="hlins/scorsese">Martin Scorsese</a> in the title. + +<h3>Code Environment</h3> +There is no link for <a href="hlins/kubrick">Stanley Kubrick</a> in the following: +<Code>Stanley Kubrick</code> + +<h3>Kbd Environment</h3> +There is no link for <a href="hlins/renoir">Jean Renoir</a> in the following: +<kbd>Jean Renoir</KbD> + +<h3>Div Environment</h3> +There should be a link for <a href="hlins/lang">Fritz Lang</a> in the following: <div +something><a href="hlins/lang">Fritz Lang</a></div> but not in the following: <div +nohlins>Fritz Lang</div>. + +<h3>Anchors</h3> There should be a link for <a href="hlins/woo">John Woo</a> in the following: +<a name=woo><a href="hlins/woo">John Woo</a></a>. In the following there should be only a link +to <i>hongkong</i>: <a href=hongkong>John Woo</a>. + +<h3>Inside Tags</h3> +No links should be inserted inside the attributes of tags: +<a href=John Woo>Bla</a> +<sometag John Woo>Bla</a>. + +<h2>Testing different character representations</h2> +Different representatins of the character <b>�</b> +<table> +<tr><td>Normal characters <td>�<td><a href="hlins/truffaut">Fran�ois Truffaut</a><br> +<tr><td>Character entity references <td><code>&ccdil;</code> + <td><a href="hlins/truffaut">Fran�ois Truffaut</a><br> +<tr><td>Decimal numerical reference<td><code>&#231;</code> + <td><a href="hlins/truffaut">Fran�ois Truffaut</a><br> +<tr><td>Hexadecimal numerical reference<td><code>&#xE7;</code> + <td>François Truffaut<br> +</table> +</body> +</html> diff --git a/debian/tests/upstream b/debian/tests/upstream new file mode 100755 index 0000000..4ba9af3 --- /dev/null +++ b/debian/tests/upstream @@ -0,0 +1,9 @@ +#!/bin/sh +# test from the lbt manpage + +set -e + +indir=doc/examples/test-examples + +hlins -q -db ${indir}/directors.db ${indir}/test1.in \ + | diff -q - debian/tests/expected-output -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ocaml-maint/packages/hlins.git _______________________________________________ Pkg-ocaml-maint-commits mailing list Pkg-ocaml-maint-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits