[git commit] hush: "adopt" ash var-utf8-length.tests
Denys Vlasenko
vda.linux at googlemail.com
Thu Jul 6 17:29:23 UTC 2017
commit: https://git.busybox.net/busybox/commit/?id=3234045d07c3fb2a9ef8afd02f821158317adbd3
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
shell/ash_test/ash-vars/var-utf8-length.tests | 2 ++
shell/hush_test/hush-vars/var-utf8-length.right | 1 +
shell/{ash_test/ash-vars => hush_test/hush-vars}/var-utf8-length.tests | 2 ++
3 files changed, 5 insertions(+)
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/ash_test/ash-vars/var-utf8-length.tests b/shell/hush_test/hush-vars/var-utf8-length.tests
similarity index 55%
copy from shell/ash_test/ash-vars/var-utf8-length.tests
copy to shell/hush_test/hush-vars/var-utf8-length.tests
index d04b2cb..b6e87f1 100755
--- a/shell/ash_test/ash-vars/var-utf8-length.tests
+++ b/shell/hush_test/hush-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}
More information about the busybox-cvs
mailing list