diff options
author | Antti-Juhani Kaijanaho <ajk@debian.org> | 2012-06-03 20:44:02 +0300 |
---|---|---|
committer | Antti-Juhani Kaijanaho <ajk@debian.org> | 2012-06-07 12:08:17 +0300 |
commit | b3e64e090731082b2444fdce2510615eb0dc0cb5 (patch) | |
tree | 7fb299121da4f96384a3122ecc95da6902d503e0 | |
parent | 02d06de3d3e9a9b0a04473ed287b119df193cc5b (diff) | |
download | dctrl-tools-b3e64e090731082b2444fdce2510615eb0dc0cb5.tar.gz |
Add a test case to verify tbl-dctrl handling of UTF-8
Signed-off-by: Antti-Juhani Kaijanaho <ajk@debian.org>
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | tests/0021.in | 2 | ||||
-rw-r--r-- | tests/0021.out | 5 | ||||
-rw-r--r-- | tests/0021.sh | 5 |
5 files changed, 17 insertions, 2 deletions
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@debian.org> Thu, 07 Jun 2012 12:06:05 +0300 + -- Antti-Juhani Kaijanaho <ajk@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@lists.alioth.debian.org> Uploaders: Antti-Juhani Kaijanaho <ajk@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 |