Message from discussion
tests: Add tests for localized man pages.
Received: by 10.204.8.2 with SMTP id f2mr594935bkf.0.1314542603888;
Sun, 28 Aug 2011 07:43:23 -0700 (PDT)
X-BeenThere: asciidoc@googlegroups.com
Received: by 10.204.2.69 with SMTP id 5ls294054bki.1.gmail; Sun, 28 Aug 2011
07:43:23 -0700 (PDT)
Received: by 10.204.154.80 with SMTP id n16mr562513bkw.7.1314542602968;
Sun, 28 Aug 2011 07:43:22 -0700 (PDT)
Received: by 10.204.154.80 with SMTP id n16mr562512bkw.7.1314542602925;
Sun, 28 Aug 2011 07:43:22 -0700 (PDT)
Return-Path: <si...@ruderich.org>
Received: from zucker.schokokeks.org (zucker.schokokeks.org [178.63.68.96])
by gmr-mx.google.com with ESMTPS id r28si1741531fag.3.2011.08.28.07.43.22
(version=TLSv1/SSLv3 cipher=OTHER);
Sun, 28 Aug 2011 07:43:22 -0700 (PDT)
Received-SPF: pass (google.com: domain of si...@ruderich.org designates 178.63.68.96 as permitted sender) client-ip=178.63.68.96;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of si...@ruderich.org designates 178.63.68.96 as permitted sender) smtp.mail=si...@ruderich.org
Received: from localhost (p4FF8F2FE.dip.t-dialin.net [::ffff:79.248.242.254])
(AUTH: PLAIN si...@ruderich.org, TLS: TLSv1/SSLv3,128bits,AES128-SHA)
by zucker.schokokeks.org with ESMTPSA; Sun, 28 Aug 2011 16:43:20 +0200
id 00000000000000CB.000000004E5A5408.00002456
Date: Sun, 28 Aug 2011 16:43:19 +0200
From: Simon Ruderich <si...@ruderich.org>
To: asciidoc@googlegroups.com
Subject: [PATCH 2/3] tests: Add tests for localized man pages.
Message-ID: <a7b7fa49ff0d8e26c1f304cfe0a099038b9bfb3d.1314542249.git.simon@ruderich.org>
References: <cover.1314542249.git.simon@ruderich.org>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="=_zucker.schokokeks.org-9302-1314542602-0001-2"
Content-Disposition: inline
In-Reply-To: <cover.1314542249.git.simon@ruderich.org>
User-Agent: Mutt/1.5.21 (2011-04-20)
This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.
--=_zucker.schokokeks.org-9302-1314542602-0001-2
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
---
tests/data/lang-de-man-test.txt | 21 +++++++++
tests/data/lang-en-man-test.txt | 21 +++++++++
tests/data/lang-es-man-test.txt | 21 +++++++++
tests/data/lang-fr-man-test.txt | 21 +++++++++
tests/data/lang-hu-man-test.txt | 21 +++++++++
tests/data/lang-nl-man-test.txt | 21 +++++++++
tests/data/lang-pt-BR-man-test.txt | 21 +++++++++
tests/data/lang-ru-man-test.txt | 21 +++++++++
tests/data/lang-uk-man-test.txt | 21 +++++++++
tests/testasciidoc.conf | 81 ++++++++++++++++++++++++++++++++=
++++
10 files changed, 270 insertions(+), 0 deletions(-)
create mode 100644 tests/data/lang-de-man-test.txt
create mode 100644 tests/data/lang-en-man-test.txt
create mode 100644 tests/data/lang-es-man-test.txt
create mode 100644 tests/data/lang-fr-man-test.txt
create mode 100644 tests/data/lang-hu-man-test.txt
create mode 100644 tests/data/lang-nl-man-test.txt
create mode 100644 tests/data/lang-pt-BR-man-test.txt
create mode 100644 tests/data/lang-ru-man-test.txt
create mode 100644 tests/data/lang-uk-man-test.txt
diff --git a/tests/data/lang-de-man-test.txt b/tests/data/lang-de-man-test.=
txt
new file mode 100644
index 0000000..f1806d4
--- /dev/null
+++ b/tests/data/lang-de-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-de.conf language file.
+:lang: de
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+=C3=9CBERSICHT
+---------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-en-man-test.txt b/tests/data/lang-en-man-test.=
txt
new file mode 100644
index 0000000..0dec04a
--- /dev/null
+++ b/tests/data/lang-en-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-en.conf language file.
+:lang: en
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+SYNOPSIS
+--------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-es-man-test.txt b/tests/data/lang-es-man-test.=
txt
new file mode 100644
index 0000000..cb95b70
--- /dev/null
+++ b/tests/data/lang-es-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-es.conf language file.
+:lang: es
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+SINOPSIS
+--------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-fr-man-test.txt b/tests/data/lang-fr-man-test.=
txt
new file mode 100644
index 0000000..edb681f
--- /dev/null
+++ b/tests/data/lang-fr-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-fr.conf language file.
+:lang: fr
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+SYNOPSIS
+--------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-hu-man-test.txt b/tests/data/lang-hu-man-test.=
txt
new file mode 100644
index 0000000..7caf1ad
--- /dev/null
+++ b/tests/data/lang-hu-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-hu.conf language file.
+:lang: hu
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+=C3=81TTEKINT=C3=89S
+----------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-nl-man-test.txt b/tests/data/lang-nl-man-test.=
txt
new file mode 100644
index 0000000..4844c17
--- /dev/null
+++ b/tests/data/lang-nl-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-nl.conf language file.
+:lang: nl
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+SYNOPSIS
+--------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-pt-BR-man-test.txt b/tests/data/lang-pt-BR-man=
-test.txt
new file mode 100644
index 0000000..0363ea6
--- /dev/null
+++ b/tests/data/lang-pt-BR-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-pt-BR.conf language file.
+:lang: pt-BR
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+SINOPSE
+-------
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-ru-man-test.txt b/tests/data/lang-ru-man-test.=
txt
new file mode 100644
index 0000000..3e50548
--- /dev/null
+++ b/tests/data/lang-ru-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-ru.conf language file.
+:lang: ru
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+=D0=9E=D0=91=D0=97=D0=9E=D0=A0
+-----
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/data/lang-uk-man-test.txt b/tests/data/lang-uk-man-test.=
txt
new file mode 100644
index 0000000..8212e4c
--- /dev/null
+++ b/tests/data/lang-uk-man-test.txt
@@ -0,0 +1,21 @@
+// Test for lang-uk.conf language file.
+:lang: uk
+
+ASCIIDOC(1)
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+:doctype: manpage
+
+NAME
+----
+asciidoc - converts an AsciiDoc text file to HTML or DocBook
+
+=D0=9E=D0=93=D0=9B=D0=AF=D0=94
+-----
+*asciidoc* ['OPTIONS'] 'FILE'
+
+DESCRIPTION
+-----------
+The asciidoc(1) command translates the AsciiDoc text file 'FILE' to
+DocBook or HTML. If 'FILE' is '-' then the standard input is used.
+
+...
diff --git a/tests/testasciidoc.conf b/tests/testasciidoc.conf
index 8b60d7d..601d9cc 100644
--- a/tests/testasciidoc.conf
+++ b/tests/testasciidoc.conf
@@ -210,6 +210,15 @@ data/lang-en-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+English language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-en-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Russian language file (article)
% backends
@@ -246,6 +255,15 @@ data/lang-ru-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Russian language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-ru-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
French language file (article)
% backends
@@ -282,6 +300,15 @@ data/lang-fr-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+French language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-fr-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
German language file (article)
% backends
@@ -318,6 +345,15 @@ data/lang-de-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+German language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-de-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Hungarian language file (article)
% backends
@@ -354,6 +390,15 @@ data/lang-hu-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Hungarian language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-hu-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Spanish language file (article)
% backends
@@ -390,6 +435,15 @@ data/lang-es-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Spanish language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-es-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Brazilian Portuguese language file (article)
% backends
@@ -426,6 +480,15 @@ data/lang-pt-BR-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Brazilian Portuguese language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-pt-BR-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Ukrainian language file (article)
% backends
@@ -462,6 +525,15 @@ data/lang-uk-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Ukrainian language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-uk-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Dutch language file (article)
% backends
@@ -498,6 +570,15 @@ data/lang-nl-test.txt
{'toc':True}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+Dutch language file (manpage)
+
+% backends
+['docbook']
+
+% source
+data/lang-nl-man-test.txt
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
RCS $Id$ marker test
% source
--=20
1.7.6.1
--=20
+ privacy is necessary
+ using gnupg http://gnupg.org
+ public key id: 0x92FEFDB7E44C32F9
--=_zucker.schokokeks.org-9302-1314542602-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iQIcBAEBCAAGBQJOWlQHAAoJEJL+/bfkTDL5maUP/2Lv1dznEBm8FZGUz7kB79x7
xMPEXCkal+bZlvfoiy9bZxIaz7BMU+R8a1R5fSTTHS3ty5GxeR+Qtf3fQcQ7IRWl
6EOtI7NpyX8CFeiqotJAbOxlyMRtPpfw1vNlaJ4bZOiwirrJBzMNj0X6wTgqUWbk
DQqHWO4GY8z6aw1zWa1Ni2KWOx5asNOhbFp6UHP4JtKGtTuNuTw0/QScIjl2EDM0
S0lCKSwoI8KuLks0MCK+XZKdQIncZmrAbIXl+L4oawk0gW1o+zb5R/g3/mFL4kIV
pxEjjNvdb5A5wJVVIDD04In9qiCigbgHeO5pYI1aQHflU5suaevelvXHqTGpI/db
jPNkkqUIwqcIXQHOYW7bab/R5OwYeIhLqijuXqDV2tT8tytzBK7fLlrbW8eVn80z
K++n1hvPtSGNewUWB650lzHEnrw7Yc3igEbo/LASdmr5hPVQ5udt0IHHLnqXBJ1k
U85uLLD91B9scjWXOewcCfAFKsatZV/IAu1A8CbofHo2QgI8TtLM7yq94z08J2Z9
KsPHWV42/KqLH4VgIImpTq0NAurx4ugNQii9FYxMOL9Zj8Ckc53kAfh1D/dzFhzC
6FjeoYYAm2Q3ZfkelLxwYhLsIKQoFi3T5MsIftHuPGTJ/QqpWf20xjYJDfX/8iTF
C1Rx89CMxWtBzaLd7U8x
=oZOb
-----END PGP SIGNATURE-----
--=_zucker.schokokeks.org-9302-1314542602-0001-2--