summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko2017-07-06 19:29:23 +0200
committerDenys Vlasenko2017-07-06 19:29:23 +0200
commit3234045d07c3fb2a9ef8afd02f821158317adbd3 (patch)
treedb4f4918436ffac3e6ad096c364be9c34ac817d6 /shell
parent74562984720c3f7d0a62ffbfd8ee78391c39c1e8 (diff)
downloadbusybox-3234045d07c3fb2a9ef8afd02f821158317adbd3.zip
busybox-3234045d07c3fb2a9ef8afd02f821158317adbd3.tar.gz
hush: "adopt" ash var-utf8-length.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rwxr-xr-xshell/ash_test/ash-vars/var-utf8-length.tests2
-rw-r--r--shell/hush_test/hush-vars/var-utf8-length.right1
-rwxr-xr-xshell/hush_test/hush-vars/var-utf8-length.tests4
3 files changed, 7 insertions, 0 deletions
diff --git a/shell/ash_test/ash-vars/var-utf8-length.tests b/shell/ash_test/ash-vars/var-utf8-length.tests
index d04b2cb..b6e87f1 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 0000000..6f4247a
--- /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 0000000..b6e87f1
--- /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}