From 72e5fe7aab91e21d0d746ec7137a6e4e0b405e39 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 18 Jul 2016 16:56:34 +0100 Subject: 38879: Unmetafy file names for glob sort. Test using Polish UTF-8 collation sequence that'w known to cause the problems. --- Test/D07multibyte.ztst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'Test/D07multibyte.ztst') diff --git a/Test/D07multibyte.ztst b/Test/D07multibyte.ztst index dedf2417a..1b1d042a8 100644 --- a/Test/D07multibyte.ztst +++ b/Test/D07multibyte.ztst @@ -562,3 +562,20 @@ } : $functions) 0:Multibtye handled of functions parameter + + if [[ -n ${$(locale -a 2>/dev/null)[(R)pl_PL.utf8]} ]]; then + ( + export LC_ALL=pl_PL.UTF-8 + local -a names=(a b c d e f $'\u0105' $'\u0107' $'\u0119') + print -o $names + mkdir -p plchars + cd plchars + touch $names + print ? + ) + else + ZTST_skip="No Polish UTF-8 local found, skipping sort test" + fi +0:Sorting of metafied Polish characters +>a ą b c ć d e ę f +>a ą b c ć d e ę f -- cgit 1.4.1