From 3234045d07c3fb2a9ef8afd02f821158317adbd3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Thu, 6 Jul 2017 19:29:23 +0200 Subject: hush: "adopt" ash var-utf8-length.tests Signed-off-by: Denys Vlasenko --- shell/hush_test/hush-vars/var-utf8-length.right | 1 + shell/hush_test/hush-vars/var-utf8-length.tests | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 shell/hush_test/hush-vars/var-utf8-length.right create mode 100755 shell/hush_test/hush-vars/var-utf8-length.tests (limited to 'shell/hush_test') 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} -- cgit v1.1