From fda9fafe279d9394ad53313320a949c86f646734 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 5 Jul 2017 19:10:21 +0200 Subject: ash: fix matching of unicode greek letter rho (cf 81) and similar cases Signed-off-by: Denys Vlasenko --- shell/ash_test/ash-quoting/unicode_8x_chars.tests | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 shell/ash_test/ash-quoting/unicode_8x_chars.tests (limited to 'shell/ash_test/ash-quoting/unicode_8x_chars.tests') diff --git a/shell/ash_test/ash-quoting/unicode_8x_chars.tests b/shell/ash_test/ash-quoting/unicode_8x_chars.tests new file mode 100755 index 000000000..1258745ec --- /dev/null +++ b/shell/ash_test/ash-quoting/unicode_8x_chars.tests @@ -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 -- cgit v1.2.3