[Dctrl-tools-devel] [SCM] Debian control file query tools branch, master, updated. 2.22.2-5-gf690c98

Antti-Juhani Kaijanaho ajk at debian.org
Thu Jun 7 09:25:02 UTC 2012


The following commit has been merged in the master branch:
commit b3e64e090731082b2444fdce2510615eb0dc0cb5
Author: Antti-Juhani Kaijanaho <ajk at debian.org>
Date:   Sun Jun 3 20:44:02 2012 +0300

    Add a test case to verify tbl-dctrl handling of UTF-8
    
    Signed-off-by: Antti-Juhani Kaijanaho <ajk at debian.org>

diff --git a/debian/changelog b/debian/changelog
index bd9404d..ce73e04 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,11 @@
 dctrl-tools (2.23) UNRELEASED; urgency=low
 
   * Merge 2.22.1 and 2.22.2.
+  * Add a test case (tests/0021.{in,out,sh}) to verify that tbl-dctrl
+    handles UTF-8 correctly.
+     - As it requires the C.UTF-8 locale, build-depend on libc-bin >= 2.13
 
- -- Antti-Juhani Kaijanaho <ajk at debian.org>  Thu, 07 Jun 2012 12:06:05 +0300
+ -- Antti-Juhani Kaijanaho <ajk at debian.org>  Thu, 07 Jun 2012 12:07:58 +0300
 
 dctrl-tools (2.22.2) unstable; urgency=low
 
diff --git a/debian/control b/debian/control
index be23847..39143d8 100644
--- a/debian/control
+++ b/debian/control
@@ -4,7 +4,7 @@ Priority: optional
 Maintainer: dctrl-tools developers <dctrl-tools-devel at lists.alioth.debian.org>
 Uploaders: Antti-Juhani Kaijanaho <ajk at debian.org>
 Standards-Version: 3.9.3
-Build-Depends: gettext (>= 0.11-0), gcc (>= 3.0), debhelper (>= 9), po4a (>= 0.40)
+Build-Depends: gettext (>= 0.11-0), gcc (>= 3.0), debhelper (>= 9), po4a (>= 0.40), libc-bin (>= 2.13)
 Vcs-Git: git://git.debian.org/git/collab-maint/dctrl-tools.git
 Vcs-Browser: http://git.debian.org/?p=collab-maint/dctrl-tools.git;a=summary
 
diff --git a/tests/0021.in b/tests/0021.in
new file mode 100644
index 0000000..b2236bf
--- /dev/null
+++ b/tests/0021.in
@@ -0,0 +1,2 @@
+Foo: äiti
+Bar: 42
diff --git a/tests/0021.out b/tests/0021.out
new file mode 100644
index 0000000..b2af061
--- /dev/null
+++ b/tests/0021.out
@@ -0,0 +1,5 @@
++======+=====+
+| Foo  | Bar |
++------+-----+
+| äiti | 42  |
++======+=====+
diff --git a/tests/0021.sh b/tests/0021.sh
new file mode 100644
index 0000000..8b9fa6a
--- /dev/null
+++ b/tests/0021.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+set -e
+
+LC_ALL=C.UTF-8 $TBL_DCTRL 

-- 
Debian control file query tools



More information about the Dctrl-tools-devel mailing list