ash testsuite: add most of hust tests which pass for ash
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
13
shell/ash_test/ash-misc/unicode1.tests
Executable file
13
shell/ash_test/ash-misc/unicode1.tests
Executable file
@ -0,0 +1,13 @@
|
||||
LANG=en_US.UTF-8
|
||||
|
||||
# A combining character U+300
|
||||
a=`printf "\xcc\x80"`
|
||||
# Should print 1
|
||||
echo ${#a}
|
||||
|
||||
# A Japanese katakana charachter U+30a3
|
||||
a=`printf "\xe3\x82\xa3"`
|
||||
# Should print 1
|
||||
echo ${#a}
|
||||
|
||||
echo Ok
|
Reference in New Issue
Block a user