ash: fix matching of unicode greek letter rho (cf 81) and similar cases
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
28
shell/hush_test/hush-quoting/unicode_8x_chars.tests
Executable file
28
shell/hush_test/hush-quoting/unicode_8x_chars.tests
Executable file
@ -0,0 +1,28 @@
|
||||
# Unicode: cf 80
|
||||
case π in
|
||||
( "π" ) echo ok ;;
|
||||
( * ) echo WRONG ;;
|
||||
esac
|
||||
# Unicode: cf 81
|
||||
case ρ in
|
||||
( "ρ" ) echo ok ;;
|
||||
( * ) echo WRONG ;;
|
||||
esac
|
||||
# Unicode: cf 82
|
||||
case ς in
|
||||
( "ς" ) echo ok ;;
|
||||
( * ) echo WRONG ;;
|
||||
esac
|
||||
|
||||
case "π" in
|
||||
( π ) echo ok ;;
|
||||
( * ) echo WRONG ;;
|
||||
esac
|
||||
case "ρ" in
|
||||
( ρ ) echo ok ;;
|
||||
( * ) echo WRONG ;;
|
||||
esac
|
||||
case "ς" in
|
||||
( ς ) echo ok ;;
|
||||
( * ) echo WRONG ;;
|
||||
esac
|
Reference in New Issue
Block a user