From: Denys Vlasenko Date: Thu, 6 Jul 2017 17:29:23 +0000 (+0200) Subject: hush: "adopt" ash var-utf8-length.tests X-Git-Tag: 1_28_0~445 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3234045d07c3fb2a9ef8afd02f821158317adbd3;p=oweals%2Fbusybox.git hush: "adopt" ash var-utf8-length.tests Signed-off-by: Denys Vlasenko --- diff --git a/shell/ash_test/ash-vars/var-utf8-length.tests b/shell/ash_test/ash-vars/var-utf8-length.tests index d04b2cbb6..b6e87f191 100755 --- a/shell/ash_test/ash-vars/var-utf8-length.tests +++ b/shell/ash_test/ash-vars/var-utf8-length.tests @@ -1,2 +1,4 @@ +LANG=en_US.UTF-8 +LC_ALL=en_US.UTF-8 X=abcdÉfghÍjklmnÓpqrstÚvwcyz echo ${#X} diff --git a/shell/hush_test/hush-vars/var-utf8-length.right b/shell/hush_test/hush-vars/var-utf8-length.right new file mode 100644 index 000000000..6f4247a62 --- /dev/null +++ b/shell/hush_test/hush-vars/var-utf8-length.right @@ -0,0 +1 @@ +26 diff --git a/shell/hush_test/hush-vars/var-utf8-length.tests b/shell/hush_test/hush-vars/var-utf8-length.tests new file mode 100755 index 000000000..b6e87f191 --- /dev/null +++ b/shell/hush_test/hush-vars/var-utf8-length.tests @@ -0,0 +1,4 @@ +LANG=en_US.UTF-8 +LC_ALL=en_US.UTF-8 +X=abcdÉfghÍjklmnÓpqrstÚvwcyz +echo ${#X}