hush: "adopt" ash var-utf8-length.tests
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Jul 2017 17:29:23 +0000 (19:29 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 Jul 2017 17:29:23 +0000 (19:29 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-vars/var-utf8-length.tests
shell/hush_test/hush-vars/var-utf8-length.right [new file with mode: 0644]
shell/hush_test/hush-vars/var-utf8-length.tests [new file with mode: 0755]

index d04b2cbb6656cf711a3e792eaec00966b1384879..b6e87f191d662a244d79470683344bb42fd7ede8 100755 (executable)
@@ -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 (file)
index 0000000..6f4247a
--- /dev/null
@@ -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 (executable)
index 0000000..b6e87f1
--- /dev/null
@@ -0,0 +1,4 @@
+LANG=en_US.UTF-8
+LC_ALL=en_US.UTF-8
+X=abcdÉfghÍjklmnÓpqrstÚvwcyz
+echo ${#X}