diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-06 19:29:23 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-06 19:29:23 +0200 |
commit | 3234045d07c3fb2a9ef8afd02f821158317adbd3 (patch) | |
tree | db4f4918436ffac3e6ad096c364be9c34ac817d6 /shell/hush_test | |
parent | 74562984720c3f7d0a62ffbfd8ee78391c39c1e8 (diff) | |
download | busybox-w32-3234045d07c3fb2a9ef8afd02f821158317adbd3.tar.gz busybox-w32-3234045d07c3fb2a9ef8afd02f821158317adbd3.tar.bz2 busybox-w32-3234045d07c3fb2a9ef8afd02f821158317adbd3.zip |
hush: "adopt" ash var-utf8-length.tests
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test')
-rw-r--r-- | shell/hush_test/hush-vars/var-utf8-length.right | 1 | ||||
-rwxr-xr-x | shell/hush_test/hush-vars/var-utf8-length.tests | 4 |
2 files changed, 5 insertions, 0 deletions
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 @@ | |||
1 | LANG=en_US.UTF-8 | ||
2 | LC_ALL=en_US.UTF-8 | ||
3 | X=abcdÉfghÍjklmnÓpqrstÚvwcyz | ||
4 | echo ${#X} | ||