[Po4a-commits] r2758 - in /trunk/t: 23-man.t data-23/quoted-comment

mquinson at users.alioth.debian.org mquinson at users.alioth.debian.org
Fri Jun 20 08:41:26 UTC 2014


Author: mquinson
Date: Fri Jun 20 08:41:26 2014
New Revision: 2758

URL: http://svn.debian.org/wsvn/po4a/?sc=1&rev=2758
Log:
A test for Debian's #744366

Added:
    trunk/t/data-23/quoted-comment
Modified:
    trunk/t/23-man.t

Modified: trunk/t/23-man.t
URL: http://svn.debian.org/wsvn/po4a/trunk/t/23-man.t?rev=2758&op=diff
==============================================================================
--- trunk/t/23-man.t	(original)
+++ trunk/t/23-man.t	Fri Jun 20 08:41:26 2014
@@ -14,7 +14,7 @@
 
 my $diff_pod_flags= " -I 'This file was generated by po4a' ";
 
-# Quotes (3 tests)
+# Quotes (4 tests)
 push @tests, {
   'run'  => "perl ../po4a-gettextize -f #format# -m data-23/quotes -p tmp/quotes.pot 2>/dev/null",
   'test' => "perl compare-po.pl data-23/quotes.pot tmp/quotes.pot",
@@ -28,6 +28,10 @@
   'run'  => "perl ../po4a-translate -f #format# -m data-23/quotes -p data-23/quotes.fr.po -l tmp/quotes.fr",
   'test' => "diff -u $diff_pod_flags data-23/quotes.fr tmp/quotes.fr",
   'doc'  => "translate this document",
+}, {
+  'run'  => "perl ../po4a-translate -f #format# -m data-23/quoted-comment -p data-23/quotes.fr.po -l tmp/quoted-comment.fr",
+  'test' => "diff -u $diff_pod_flags data-23/quotes.fr tmp/quoted-comment.fr",
+  'doc'  => "Check that comment markers are not messed up during translation",
 };
 
 # Dots (9 tests)

Added: trunk/t/data-23/quoted-comment
URL: http://svn.debian.org/wsvn/po4a/trunk/t/data-23/quoted-comment?rev=2758&op=file
==============================================================================
--- trunk/t/data-23/quoted-comment	(added)
+++ trunk/t/data-23/quoted-comment	Fri Jun 20 08:41:26 2014
@@ -0,0 +1,6 @@
+'\" t
+.\" This test aims at ensuring that the line before this one still
+.\"   starts with a single quote and not a dot.
+.\" That's important to groff especially for the --warnings used by
+.\" lintian. See also:
+.\" https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=744366




More information about the Po4a-commits mailing list